Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.001155/0.00116, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 11.94 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8423, allocations: 142.3 MB / 0.9536 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001554/0.8439, allocations: 1.183 MB / 0.9547 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.8447, allocations: 391.8 kB / 0.9551 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.8448, allocations: 0 / 0.9551 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.8448, allocations: 3.938 kB / 0.9551 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.8449, allocations: 28.42 kB / 0.9551 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.8455, allocations: 212 kB / 0.9553 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.8458, allocations: 157.7 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.8458, allocations: 8.75 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.8461, allocations: 165.9 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.8464, allocations: 131.8 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.8464, allocations: 10.41 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.8465, allocations: 10 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.8466, allocations: 78.94 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.8467, allocations: 69.89 kB / 0.956 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.847, allocations: 206.4 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.847, allocations: 0 / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.847, allocations: 1.062 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.847, allocations: 0 / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009153/0.8479, allocations: 0.6722 MB / 0.9568 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.848, allocations: 8.438 kB / 0.9568 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.848, allocations: 41.23 kB / 0.9569 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.8481, allocations: 30.5 kB / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.8485, allocations: 257.9 kB / 0.9571 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.8485, allocations: 12.38 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.8486, allocations: 19.17 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.8496, allocations: 207.9 kB / 0.9574 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8496, allocations: 3.984 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.8496, allocations: 11.64 kB / 0.9574 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.8496, allocations: 0 / 0.9574 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.8504, allocations: 112.3 kB / 0.9575 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.8507, allocations: 312.8 kB / 0.9578 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.8518, allocations: 191 kB / 0.958 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.8518, allocations: 1.719 kB / 0.958 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008936/0.8527, allocations: 216.1 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.8527, allocations: 0 / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002518/0.8552, allocations: 483 kB / 0.9586 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.8553, allocations: 63.95 kB / 0.9587 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.8556, allocations: 298 kB / 0.959 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.8556, allocations: 35.45 kB / 0.959 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.8557, allocations: 90.3 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.8557, allocations: 45.53 kB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.8558, allocations: 3.812 kB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.8558, allocations: 325.8 kB / 0.9595 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.856, allocations: 84.66 kB / 0.9595 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.8562, allocations: 132.8 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.8564, allocations: 154.9 kB / 0.9598 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8565, allocations: 1.375 kB / 0.9598 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006277/0.8571, allocations: 391.8 kB / 0.9602 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.8572, allocations: 74.59 kB / 0.9603 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8572, allocations: 5.969 kB / 0.9603 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.8572, allocations: 3.094 kB / 0.9603 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.8574, allocations: 21.89 kB / 0.9603 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.8574, allocations: 3.156 kB / 0.9603 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.8579, allocations: 67.7 kB / 0.9603 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/0.858, allocations: 43.39 kB / 0.9604 GB, free: 2.895 MB / 0.7169 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001946/0.8582, allocations: 173 kB / 0.9606 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.8583, allocations: 27.75 kB / 0.9606 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.504e-05/0.8583, allocations: 28.17 kB / 0.9606 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.8584, allocations: 6.156 kB / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8584, allocations: 4.688 kB / 0.9606 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.8584, allocations: 0 / 0.9606 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.8605, allocations: 0.7142 MB / 0.9613 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8605, allocations: 7.922 kB / 0.9613 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.8606, allocations: 3.969 kB / 0.9613 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.8606, allocations: 1.031 kB / 0.9613 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.8606, allocations: 28.8 kB / 0.9614 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.8606, allocations: 0.9688 kB / 0.9614 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8606, allocations: 0 / 0.9614 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.8624, allocations: 467.7 kB / 0.9618 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.8626, allocations: 161.5 kB / 0.962 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.8627, allocations: 8.938 kB / 0.962 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/0.8632, allocations: 37.03 kB / 0.962 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.8633, allocations: 11.61 kB / 0.962 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.8633, allocations: 41.5 kB / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002132/0.8636, allocations: 208.5 kB / 0.9623 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8636, allocations: 0 / 0.9623 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004439/0.864, allocations: 45.94 kB / 0.9623 GB, free: 1.586 MB / 0.7169 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.001934/0.866, allocations: 1.021 MB / 0.9633 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.8672, allocations: 391.2 kB / 0.9637 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8672, allocations: 0 / 0.9637 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007555/0.868, allocations: 129 kB / 0.9638 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.8683, allocations: 23.8 kB / 0.9638 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.8704, allocations: 1.658 MB / 0.9654 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.8708, allocations: 0.7453 MB / 0.9662 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.8709, allocations: 20.17 kB / 0.9662 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.871, allocations: 21.83 kB / 0.9662 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of SimCode: time 4.5e-07/0.871, allocations: 0 / 0.9662 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.888, allocations: 4.5 MB / 0.9706 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.8882, allocations: 190 kB / 0.9708 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.675, allocations: 4 kB / 0.9708 GB, free: 11.73 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat