Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001554, allocations: 113.3 kB / 16.41 MB, free: 6.457 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.001765/0.001765, allocations: 185.5 kB / 17.34 MB, free: 5.723 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7598, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002782/0.7627, allocations: 1.519 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.764, allocations: 0.5462 MB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.7641, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.165e-05/0.7642, allocations: 11.88 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.7643, allocations: 19.86 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.7651, allocations: 314.8 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005657/0.7657, allocations: 0.5033 MB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.7658, allocations: 8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.7662, allocations: 271.6 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.7665, allocations: 147.7 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.7666, allocations: 28 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.7667, allocations: 24 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.7669, allocations: 119.6 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.7671, allocations: 183.1 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.7675, allocations: 424.3 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.7675, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7675, allocations: 4 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.7675, allocations: 3.984 kB / 1.212 GB, free: 9.531 MB / 0.9356 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.001226/0.7688, allocations: 0.8625 MB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.7688, allocations: 11.97 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.7689, allocations: 48.47 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.7693, allocations: 310.3 kB / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.7693, allocations: 20.34 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.7694, allocations: 28.36 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.7704, allocations: 213.9 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7705, allocations: 192 / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.7705, allocations: 11.92 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7705, allocations: 0 / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.7714, allocations: 103.9 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.7718, allocations: 393.1 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.7729, allocations: 174.5 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/0.7737, allocations: 112.8 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.7738, allocations: 7.984 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.7748, allocations: 217.5 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.7748, allocations: 0 / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002695/0.7775, allocations: 492.8 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.7776, allocations: 55.41 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.778, allocations: 413.9 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.7781, allocations: 41.69 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.7781, allocations: 97.44 kB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.7782, allocations: 43.38 kB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.7784, allocations: 129.3 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7785, allocations: 318.8 kB / 1.216 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.7788, allocations: 123.9 kB / 1.216 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.7791, allocations: 167.2 kB / 1.217 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.7794, allocations: 282.8 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7795, allocations: 0 / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008033/0.7803, allocations: 487 kB / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.753e-05/0.7804, allocations: 87.31 kB / 1.217 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7804, allocations: 4 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7804, allocations: 4 kB / 1.217 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.7806, allocations: 23.92 kB / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7806, allocations: 12.17 kB / 1.217 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.7811, allocations: 55.8 kB / 1.218 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.7812, allocations: 59.98 kB / 1.218 GB, free: 3.875 MB / 0.9356 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002157/0.7814, allocations: 192 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.7815, allocations: 43.45 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.7815, allocations: 39.75 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.7815, allocations: 7.938 kB / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7816, allocations: 0 / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7816, allocations: 3.984 kB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.7838, allocations: 0.7585 MB / 1.219 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7839, allocations: 0 / 1.219 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.7839, allocations: 4 kB / 1.219 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7839, allocations: 0 / 1.219 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.784, allocations: 23.97 kB / 1.219 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.784, allocations: 4 kB / 1.219 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.784, allocations: 0 / 1.219 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.7858, allocations: 479.2 kB / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.7861, allocations: 196.5 kB / 1.219 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.7862, allocations: 8 kB / 1.219 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.7867, allocations: 35.97 kB / 1.219 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.7867, allocations: 7.984 kB / 1.219 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.7868, allocations: 59.97 kB / 1.219 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002804/0.7871, allocations: 299 kB / 1.22 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7871, allocations: 0 / 1.22 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003666/0.7875, allocations: 67.98 kB / 1.22 GB, free: 1.578 MB / 0.9356 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 (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.0001415/0.7876, allocations: 107.2 kB / 1.22 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.7889, allocations: 446.5 kB / 1.22 GB, free: 1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.789, allocations: 0 / 1.22 GB, free: 1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.7898, allocations: 117 kB / 1.22 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.7902, allocations: 31.58 kB / 1.22 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.7917, allocations: 0.5924 MB / 1.221 GB, free: 240 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.7921, allocations: 0.7745 MB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.7921, allocations: 15.44 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of SimCode: time 1.833e-06/0.7921, allocations: 0 / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of Templates: time 0.005957/0.7981, allocations: 3.673 MB / 1.225 GB, free: 11.69 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time