Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6308/0.6322, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003247/0.6355, allocations: 1.739 MB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.6368, allocations: 0.6285 MB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.637, allocations: 3.938 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.335e-05/0.6371, allocations: 7.875 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.6372, allocations: 27.8 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009275/0.6381, allocations: 371.2 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.6388, allocations: 0.636 MB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.6389, allocations: 29.11 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005434/0.6395, allocations: 311.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.6398, allocations: 147.3 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.64, allocations: 44 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.6401, allocations: 40 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.6402, allocations: 131.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.6405, allocations: 215 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005475/0.6411, allocations: 0.5942 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6411, allocations: 8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6411, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.6411, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001429/0.6425, allocations: 0.9015 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6426, allocations: 8.031 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.6426, allocations: 50.67 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.6428, allocations: 56.38 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.6432, allocations: 330.1 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.6433, allocations: 28.55 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.6434, allocations: 28.36 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.6445, allocations: 239.5 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.6445, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.6446, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.6446, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/0.6454, allocations: 123.8 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.6468, allocations: 0.6759 MB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.6479, allocations: 182.5 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008207/0.6487, allocations: 117 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.6488, allocations: 12 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.6498, allocations: 233.3 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.6498, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002876/0.6527, allocations: 492.9 kB / 1.026 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.6528, allocations: 63.39 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.6533, allocations: 445.8 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/0.6534, allocations: 41.7 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.6536, allocations: 101.3 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.6536, allocations: 43.53 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.6539, allocations: 141.3 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6541, allocations: 322.8 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.6545, allocations: 143.8 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.6548, allocations: 198.4 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.6553, allocations: 303 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6553, allocations: 0 / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009269/0.6563, allocations: 0.524 MB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.6564, allocations: 99.38 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6564, allocations: 0 / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6564, allocations: 4 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.6566, allocations: 23.92 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.6566, allocations: 7.984 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.6571, allocations: 67.97 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.6572, allocations: 55.98 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.6575, allocations: 220.3 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.6576, allocations: 43.52 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.6577, allocations: 43.8 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.6577, allocations: 0 / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6577, allocations: 0 / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6577, allocations: 3.938 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.6602, allocations: 0.7918 MB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6602, allocations: 0 / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.6603, allocations: 11.92 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6603, allocations: 0 / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.6603, allocations: 23.92 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.6603, allocations: 0 / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6604, allocations: 0 / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.6622, allocations: 476.2 kB / 1.03 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.6625, allocations: 244.4 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6626, allocations: 23.94 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.6631, allocations: 31.97 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.6632, allocations: 7.984 kB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.6632, allocations: 59.97 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000327/0.6636, allocations: 319.1 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.623e-06/0.6636, allocations: 0 / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003797/0.664, allocations: 71.92 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/0.6662, allocations: 1.038 MB / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.6677, allocations: 479.6 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6677, allocations: 4 kB / 1.032 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000857/0.6685, allocations: 123.8 kB / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.669, allocations: 45.05 kB / 1.032 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.6737, allocations: 3.002 MB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.6741, allocations: 0.7939 MB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.533e-05/0.6742, allocations: 21.41 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.6742, allocations: 31.42 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.6742, allocations: 0 / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.6985, allocations: 6.713 MB / 1.042 GB, free: 8.41 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.334, allocations: 6.125 kB / 1.042 GB, free: 8.406 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)