Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.0009957, allocations: 161.2 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 88.33 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004445, allocations: 14.25 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2542, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.4281, allocations: 152.2 MB / 1.372 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4283, allocations: 71.95 kB / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.4444, allocations: 5.351 MB / 1.377 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4444, allocations: 0 / 1.377 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.4444, allocations: 4 kB / 1.377 GB, free: 4.355 MB / 0.8698 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.0009745/0.4454, allocations: 0.6881 MB / 1.378 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4455, allocations: 12.03 kB / 1.378 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.4456, allocations: 42.55 kB / 1.378 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.4457, allocations: 43.58 kB / 1.378 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.4462, allocations: 287 kB / 1.378 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.4462, allocations: 12 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.4463, allocations: 20 kB / 1.378 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009565/0.4472, allocations: 237.4 kB / 1.378 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4473, allocations: 3.938 kB / 1.378 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.4473, allocations: 4 kB / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4473, allocations: 0 / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007671/0.4481, allocations: 127.8 kB / 1.378 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.4493, allocations: 0.5902 MB / 1.379 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009852/0.4503, allocations: 198.4 kB / 1.379 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.4503, allocations: 0 / 1.379 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008714/0.4512, allocations: 223.2 kB / 1.379 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.4512, allocations: 0 / 1.379 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.002445/0.4537, allocations: 495.7 kB / 1.38 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.4537, allocations: 67.47 kB / 1.38 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.454, allocations: 279.6 kB / 1.38 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.4541, allocations: 37.7 kB / 1.38 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.4542, allocations: 105 kB / 1.38 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.4542, allocations: 39.53 kB / 1.38 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.4543, allocations: 8 kB / 1.38 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4544, allocations: 326.8 kB / 1.381 GB, free: 320 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.4547, allocations: 107.9 kB / 1.381 GB, free: 212 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.455, allocations: 159 kB / 1.381 GB, free: 32 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.4553, allocations: 164.6 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4553, allocations: 4 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008347/0.4561, allocations: 433.2 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/0.4562, allocations: 79.38 kB / 1.381 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4562, allocations: 0 / 1.381 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4563, allocations: 4 kB / 1.382 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.4564, allocations: 27.92 kB / 1.382 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4564, allocations: 192 / 1.382 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.4568, allocations: 51.81 kB / 1.382 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.4569, allocations: 35.98 kB / 1.382 GB, free: 15.21 MB / 0.8855 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.4571, allocations: 192.8 kB / 1.382 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.4571, allocations: 23.72 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.4572, allocations: 38.34 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4572, allocations: 0 / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4572, allocations: 0 / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4572, allocations: 4 kB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.4593, allocations: 0.7519 MB / 1.383 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.4593, allocations: 4 kB / 1.383 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.4594, allocations: 0 / 1.383 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4594, allocations: 11.94 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.4594, allocations: 19.97 kB / 1.383 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4594, allocations: 0 / 1.383 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4594, allocations: 0 / 1.383 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4611, allocations: 477.2 kB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.4614, allocations: 188.6 kB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.4615, allocations: 19.98 kB / 1.383 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.4619, allocations: 31.98 kB / 1.383 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.4619, allocations: 7.984 kB / 1.383 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/0.462, allocations: 47.97 kB / 1.383 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002198/0.4622, allocations: 227 kB / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4622, allocations: 0 / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003416/0.4626, allocations: 64.23 kB / 1.384 GB, free: 13.02 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002/0.4646, allocations: 1.04 MB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.4658, allocations: 430.5 kB / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4658, allocations: 0 / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007247/0.4665, allocations: 139.5 kB / 1.385 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.4668, allocations: 24.64 kB / 1.385 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4692, allocations: 1.718 MB / 1.387 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.4696, allocations: 0.7555 MB / 1.388 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.348e-05/0.4697, allocations: 13.42 kB / 1.388 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.4697, allocations: 35.42 kB / 1.388 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of SimCode: time 6.31e-07/0.4697, allocations: 0 / 1.388 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.4879, allocations: 5.498 MB / 1.393 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.4881, allocations: 209.2 kB / 1.393 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.014, allocations: 0 / 1.393 GB, free: 3.188 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat