Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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 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.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 111.9 kB / 16.42 MB, free: 6.453 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.001805/0.001805, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.466/1.466, 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.754/2.754, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.185, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003558/1.189, allocations: 1.747 MB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001665/1.19, allocations: 0.6234 MB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/1.19, allocations: 4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/1.191, allocations: 11.86 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/1.191, allocations: 39.78 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/1.192, allocations: 349.9 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009116/1.193, allocations: 0.6438 MB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/1.193, allocations: 25.11 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005834/1.194, allocations: 311.6 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/1.194, allocations: 163.3 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/1.194, allocations: 40 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/1.194, allocations: 44 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/1.195, allocations: 123.7 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/1.195, allocations: 219 kB / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007627/1.196, allocations: 0.5974 MB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.196, allocations: 0 / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.765e-06/1.196, allocations: 0 / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.835e-05/1.196, allocations: 0 / 1.213 GB, free: 8.715 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001851/1.198, allocations: 0.917 MB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.198, allocations: 8.031 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/1.198, allocations: 52.47 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/1.198, allocations: 334.1 kB / 1.215 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/1.198, allocations: 16.38 kB / 1.215 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/1.198, allocations: 32.36 kB / 1.215 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.2, allocations: 239.5 kB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.2, allocations: 192 / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/1.2, allocations: 11.86 kB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.2, allocations: 0 / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000875/1.201, allocations: 111.9 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/1.202, allocations: 0.672 MB / 1.216 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.203, allocations: 178.5 kB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/1.204, allocations: 116.8 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/1.204, allocations: 4 kB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/1.205, allocations: 241.1 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/1.205, allocations: 4 kB / 1.216 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002814/1.208, allocations: 488.9 kB / 1.217 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.208, allocations: 71.39 kB / 1.217 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/1.209, allocations: 437.9 kB / 1.217 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/1.209, allocations: 37.7 kB / 1.217 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/1.209, allocations: 101.3 kB / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/1.209, allocations: 43.53 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/1.209, allocations: 137.2 kB / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.209, allocations: 326.8 kB / 1.218 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/1.21, allocations: 139.9 kB / 1.218 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/1.21, allocations: 195.1 kB / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/1.21, allocations: 299.7 kB / 1.218 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.21, allocations: 0 / 1.218 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009014/1.211, allocations: 0.5203 MB / 1.219 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.444e-05/1.211, allocations: 95.38 kB / 1.219 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.211, allocations: 0 / 1.219 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/1.211, allocations: 12.17 kB / 1.219 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/1.212, allocations: 19.92 kB / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.212, allocations: 4 kB / 1.219 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/1.212, allocations: 63.84 kB / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/1.212, allocations: 59.98 kB / 1.219 GB, free: 2.465 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002946/1.213, allocations: 224.2 kB / 1.219 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/1.213, allocations: 39.47 kB / 1.219 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.114e-05/1.213, allocations: 43.78 kB / 1.219 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.213, allocations: 0 / 1.219 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.213, allocations: 0 / 1.219 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/1.213, allocations: 248.4 kB / 1.22 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/1.213, allocations: 15.94 kB / 1.22 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/1.214, allocations: 31.97 kB / 1.22 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/1.214, allocations: 11.98 kB / 1.22 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001909/1.216, allocations: 426.3 kB / 1.22 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001937/1.218, allocations: 0.5371 MB / 1.221 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008335/1.218, allocations: 122.7 kB / 1.221 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004047/1.219, allocations: 323 kB / 1.221 GB, free: 436 kB / 0.9356 GB Notification: Performance of Backend: time 1.563e-06/1.219, allocations: 0 / 1.221 GB, free: 436 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001139/1.22, allocations: 449 kB / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001311/1.221, allocations: 0.9845 MB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of Templates: time 0.01265/1.234, allocations: 5.532 MB / 1.228 GB, free: 9.309 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches