Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01097/0.01097, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001843/0.001843, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.877/1.877, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.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.862/2.862, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4322, allocations: 151.6 MB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003501/0.4358, allocations: 1.743 MB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.4373, allocations: 0.6207 MB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.4374, allocations: 0 / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.4376, allocations: 11.86 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.4378, allocations: 39.56 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.4387, allocations: 367.2 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.4394, allocations: 0.6321 MB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4396, allocations: 29.11 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.44, allocations: 315.5 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.4403, allocations: 155.6 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.4404, allocations: 40 kB / 1.171 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.4405, allocations: 44 kB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.4407, allocations: 123.6 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.4409, allocations: 215 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006795/0.4416, allocations: 0.6072 MB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4416, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4416, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.4416, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 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.001463/0.4431, allocations: 0.917 MB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4432, allocations: 11.98 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.4433, allocations: 64.64 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.4437, allocations: 338.5 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.4438, allocations: 20.36 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.4439, allocations: 28.38 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009916/0.4449, allocations: 240.5 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.4449, allocations: 4.188 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.4449, allocations: 7.922 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4449, allocations: 4 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.4457, allocations: 107.9 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.4471, allocations: 0.6798 MB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4481, allocations: 186.5 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.4488, allocations: 116.8 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.4489, allocations: 3.984 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.4499, allocations: 231.1 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 3.857e-06/0.4499, allocations: 4 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002517/0.4524, allocations: 496.2 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.4525, allocations: 63.39 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.4531, allocations: 441.9 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.895e-05/0.4532, allocations: 45.69 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.4533, allocations: 101.4 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.4533, allocations: 39.7 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.4536, allocations: 137.5 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4537, allocations: 326.8 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.454, allocations: 139.9 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.4543, allocations: 198.8 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.4547, allocations: 301.3 kB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4547, allocations: 0 / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009758/0.4557, allocations: 0.514 MB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.4558, allocations: 99.38 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4559, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.4559, allocations: 4.188 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4561, allocations: 27.92 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4561, allocations: 3.984 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.4566, allocations: 63.8 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/0.4567, allocations: 59.98 kB / 1.177 GB, free: 11.52 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.0002686/0.457, allocations: 216.3 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.4571, allocations: 43.7 kB / 1.178 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.786e-05/0.4572, allocations: 43.78 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4572, allocations: 0 / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.4572, allocations: 0 / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4572, allocations: 3.984 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.4594, allocations: 0.7873 MB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4594, allocations: 7.938 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.4595, allocations: 0 / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4595, allocations: 7.938 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.4595, allocations: 23.97 kB / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4595, allocations: 3.938 kB / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4595, allocations: 0 / 1.178 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.4612, allocations: 484.4 kB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.4616, allocations: 244.7 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.85e-05/0.4617, allocations: 16 kB / 1.179 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/0.4621, allocations: 39.91 kB / 1.179 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.4622, allocations: 11.98 kB / 1.179 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.4623, allocations: 55.97 kB / 1.179 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004424/0.4627, allocations: 319.1 kB / 1.179 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4627, allocations: 3.938 kB / 1.179 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004362/0.4632, allocations: 71.94 kB / 1.18 GB, free: 9.078 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002267/0.4634, allocations: 132 kB / 1.18 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.4647, allocations: 474.4 kB / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4647, allocations: 0 / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007352/0.4655, allocations: 126.8 kB / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.4659, allocations: 40.16 kB / 1.18 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.4675, allocations: 0.6016 MB / 1.181 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.468, allocations: 0.7825 MB / 1.182 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.074e-05/0.4681, allocations: 17.42 kB / 1.182 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.4682, allocations: 15.44 kB / 1.182 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.4682, allocations: 0 / 1.182 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.01009/0.4783, allocations: 5.428 MB / 1.187 GB, free: 1.301 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches