Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001775/0.001775, allocations: 186.1 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.17 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.524/2.524, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 60.12 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002603/1.006, allocations: 1.53 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001266/1.007, allocations: 0.5408 MB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/1.007, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/1.008, allocations: 15.86 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/1.008, allocations: 27.64 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008178/1.009, allocations: 314 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005374/1.009, allocations: 0.5033 MB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/1.009, allocations: 4 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/1.009, allocations: 275.6 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/1.01, allocations: 151.6 kB / 1.171 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.515e-05/1.01, allocations: 24 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/1.01, allocations: 28 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/1.01, allocations: 115.6 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000201/1.01, allocations: 183.1 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/1.011, allocations: 420.4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.011, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/1.011, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.011, allocations: 0 / 1.171 GB, free: 15.8 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.00134/1.012, allocations: 0.8703 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.012, allocations: 8.922 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/1.012, allocations: 56.45 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/1.013, allocations: 310.2 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/1.013, allocations: 20.3 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/1.013, allocations: 28.36 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/1.014, allocations: 211.1 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.014, allocations: 4.172 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/1.014, allocations: 11.92 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/1.014, allocations: 4 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/1.015, allocations: 95.86 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/1.016, allocations: 397.2 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.017, allocations: 174.5 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008006/1.017, allocations: 108.8 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/1.017, allocations: 11.98 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/1.019, allocations: 211.2 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 4.038e-06/1.019, allocations: 0 / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002891/1.022, allocations: 496.7 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/1.022, allocations: 59.41 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/1.022, allocations: 417.9 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.729e-05/1.022, allocations: 37.7 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/1.022, allocations: 93.44 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/1.022, allocations: 47.39 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/1.023, allocations: 121.3 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.023, allocations: 322.8 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/1.023, allocations: 115.9 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/1.023, allocations: 177.9 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/1.024, allocations: 283.4 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.024, allocations: 0 / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008134/1.024, allocations: 484.7 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.025, allocations: 87.38 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.025, allocations: 3.938 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.025, allocations: 4 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/1.025, allocations: 27.91 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/1.025, allocations: 4.188 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/1.025, allocations: 59.8 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/1.026, allocations: 55.98 kB / 1.176 GB, free: 10.13 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.0003139/1.026, allocations: 196 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/1.026, allocations: 39.52 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/1.026, allocations: 43.69 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/1.026, allocations: 3.938 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.026, allocations: 0 / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/1.026, allocations: 204.5 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/1.026, allocations: 8 kB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/1.027, allocations: 31.97 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/1.027, allocations: 11.92 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001805/1.029, allocations: 433.7 kB / 1.177 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001907/1.031, allocations: 0.5389 MB / 1.178 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008201/1.032, allocations: 111.9 kB / 1.178 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003363/1.032, allocations: 303.1 kB / 1.178 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of Backend: time 3.51e-07/1.032, allocations: 0 / 1.178 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009897/1.033, allocations: 413 kB / 1.179 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001123/1.034, allocations: 0.9343 MB / 1.18 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of Templates: time 0.008954/1.043, allocations: 5.038 MB / 1.185 GB, free: 1.641 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches