Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.001805/0.001805, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001979/0.00198, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.523/2.523, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 64.03 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9739/0.9754, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003311/0.9788, allocations: 1.531 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.9803, allocations: 0.5382 MB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.9804, allocations: 7.938 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.9805, allocations: 3.938 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.9807, allocations: 31.62 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.9819, allocations: 305.9 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008149/0.9827, allocations: 0.511 MB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.861e-05/0.9828, allocations: 7.984 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.9833, allocations: 271.6 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.9838, allocations: 156.3 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.984, allocations: 24 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.9841, allocations: 28 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.9843, allocations: 119.6 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.9845, allocations: 183.1 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.9851, allocations: 416.4 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9851, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9851, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.9852, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 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.00161/0.9868, allocations: 0.8742 MB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.9868, allocations: 8.922 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.987, allocations: 52.47 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.9875, allocations: 310.3 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.9876, allocations: 16.36 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/0.9877, allocations: 32.3 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.9888, allocations: 210 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.9888, allocations: 192 / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.9889, allocations: 7.938 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.9889, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008031/0.9897, allocations: 95.91 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.9902, allocations: 397.2 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.9913, allocations: 174.5 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/0.9921, allocations: 116.7 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.9922, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.9932, allocations: 223.1 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.9932, allocations: 0 / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002688/0.9959, allocations: 495.7 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.996, allocations: 63.41 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.9965, allocations: 413.9 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.9966, allocations: 41.69 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.9967, allocations: 93.44 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.9968, allocations: 43.39 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.9971, allocations: 125.3 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9972, allocations: 322.8 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.9975, allocations: 111.9 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.9979, allocations: 180.1 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.9983, allocations: 283.8 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9983, allocations: 0 / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008854/0.9992, allocations: 488.7 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.9993, allocations: 83.38 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9994, allocations: 3.938 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.9994, allocations: 4 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.9996, allocations: 32.11 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.9996, allocations: 0 / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/1, allocations: 67.78 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.544e-05/1, allocations: 55.98 kB / 1.176 GB, free: 10.09 MB / 0.9044 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.0002918/1.001, allocations: 196 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/1.001, allocations: 43.52 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.372e-05/1.001, allocations: 43.67 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.001, allocations: 3.938 kB / 1.177 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.001, allocations: 0 / 1.177 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/1.001, allocations: 200.5 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/1.001, allocations: 11.98 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/1.002, allocations: 33.72 kB / 1.177 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/1.002, allocations: 7.984 kB / 1.177 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00187/1.004, allocations: 424.6 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001915/1.006, allocations: 0.5383 MB / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000799/1.006, allocations: 111.9 kB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003319/1.007, allocations: 299.1 kB / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of Backend: time 3.71e-07/1.007, allocations: 0 / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.008, allocations: 419.5 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001189/1.009, allocations: 0.9306 MB / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of Templates: time 0.01049/1.019, allocations: 5.038 MB / 1.185 GB, free: 1.605 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches