Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.927/0.927, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.234/2.234, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.325e-05, allocations: 4.844 kB / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001634/0.001647, allocations: 1.557 MB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.002519, allocations: 0.542 MB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.002558, allocations: 0 / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.898e-05/0.002637, allocations: 7.875 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.886e-05/0.002726, allocations: 31.78 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.003231, allocations: 331.2 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.003584, allocations: 487.4 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.983e-05/0.003614, allocations: 4 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.00392, allocations: 355.6 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.004144, allocations: 133 kB / 0.8419 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.004188, allocations: 28 kB / 0.8419 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.27e-05/0.004231, allocations: 28 kB / 0.8419 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.004312, allocations: 119.6 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.004403, allocations: 127.7 kB / 0.8422 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.004648, allocations: 378.8 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.004649, allocations: 0 / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.1e-07/0.00465, allocations: 4 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.004653, allocations: 3.938 kB / 0.8425 GB, free: 10.19 MB / 0.8073 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.0006479/0.005301, allocations: 0.7389 MB / 0.8432 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.005327, allocations: 8.625 kB / 0.8433 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.005396, allocations: 48.88 kB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.005603, allocations: 236 kB / 0.8435 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.005729, allocations: 12.38 kB / 0.8435 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.005776, allocations: 32.36 kB / 0.8436 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.006057, allocations: 186.7 kB / 0.8437 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.006063, allocations: 192 / 0.8437 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.006078, allocations: 8.375 kB / 0.8438 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006084, allocations: 8.375 kB / 0.8438 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.72e-05/0.006152, allocations: 35.92 kB / 0.8438 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.006292, allocations: 124.9 kB / 0.8439 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.006423, allocations: 86.55 kB / 0.844 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.00649, allocations: 48.84 kB / 0.844 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.006503, allocations: 3.984 kB / 0.844 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.006639, allocations: 151.2 kB / 0.8442 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.00664, allocations: 0 / 0.8442 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002987/0.006939, allocations: 208 kB / 0.8444 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.006967, allocations: 63.34 kB / 0.8444 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.007132, allocations: 327.3 kB / 0.8448 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.007164, allocations: 41.69 kB / 0.8448 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.007204, allocations: 105.4 kB / 0.8449 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.007232, allocations: 39.7 kB / 0.8449 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.007331, allocations: 113.4 kB / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.007396, allocations: 330.7 kB / 0.8454 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.007528, allocations: 151.3 kB / 0.8455 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.007664, allocations: 205.3 kB / 0.8457 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.00783, allocations: 251.1 kB / 0.8459 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007832, allocations: 0 / 0.8459 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003115/0.008143, allocations: 428.1 kB / 0.8463 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.008188, allocations: 83.38 kB / 0.8464 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.008192, allocations: 0 / 0.8464 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.008203, allocations: 4 kB / 0.8464 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.008297, allocations: 36.09 kB / 0.8465 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.008301, allocations: 4 kB / 0.8465 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.008452, allocations: 43.92 kB / 0.8465 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.008498, allocations: 55.92 kB / 0.8466 GB, free: 5.73 MB / 0.8073 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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 9.831e-05/0.008596, allocations: 152.5 kB / 0.8467 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.00863, allocations: 31.89 kB / 0.8467 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.008666, allocations: 39.67 kB / 0.8468 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.008667, allocations: 0 / 0.8468 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.008669, allocations: 0 / 0.8468 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008672, allocations: 8 kB / 0.8468 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.009259, allocations: 374.7 kB / 0.8471 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.009264, allocations: 4 kB / 0.8471 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.009282, allocations: 4 kB / 0.8472 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009284, allocations: 0 / 0.8472 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.0093, allocations: 11.97 kB / 0.8472 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.009301, allocations: 3.984 kB / 0.8472 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009302, allocations: 0 / 0.8472 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.009496, allocations: 254.4 kB / 0.8474 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.009625, allocations: 115.6 kB / 0.8475 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.009668, allocations: 12 kB / 0.8475 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.009834, allocations: 31.97 kB / 0.8476 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.009852, allocations: 11.92 kB / 0.8476 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.009888, allocations: 51.97 kB / 0.8476 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.481e-05/0.009973, allocations: 136.7 kB / 0.8478 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009973, allocations: 0 / 0.8478 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001835/0.01016, allocations: 63.98 kB / 0.8478 GB, free: 4.398 MB / 0.8073 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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 8.634e-05/0.01024, allocations: 106.3 kB / 0.8479 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.0106, allocations: 406.7 kB / 0.8483 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.01061, allocations: 4 kB / 0.8483 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.01069, allocations: 61.16 kB / 0.8484 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.01086, allocations: 37.61 kB / 0.8484 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.01141, allocations: 464.1 kB / 0.8488 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.01145, allocations: 83.81 kB / 0.8489 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.01148, allocations: 21.08 kB / 0.8489 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.01163, allocations: 115.3 kB / 0.8491 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.01163, allocations: 0 / 0.8491 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of Templates: time 0.005922/0.01755, allocations: 5.424 MB / 0.8544 GB, free: 13.55 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_CalendarTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.420449019875377]