Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001643/0.001643, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 65.86 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4047, allocations: 140.4 MB / 0.9502 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.005617/0.4104, allocations: 1.53 MB / 0.9517 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.413, allocations: 0.5402 MB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.4131, allocations: 3.938 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.4133, allocations: 3.938 kB / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.4136, allocations: 31.84 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.4151, allocations: 310.8 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.4162, allocations: 0.5033 MB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.4163, allocations: 11.98 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007925/0.4171, allocations: 267.6 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.4177, allocations: 135.7 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.4179, allocations: 24 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.4181, allocations: 28 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.4184, allocations: 115.6 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.4188, allocations: 183.1 kB / 0.9538 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008031/0.4196, allocations: 430.9 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4196, allocations: 4 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.105e-06/0.4196, allocations: 0 / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.133e-05/0.4197, allocations: 0 / 0.9542 GB, free: 4.777 MB / 0.7325 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.002502/0.4222, allocations: 0.8674 MB / 0.9551 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.4223, allocations: 12.03 kB / 0.9551 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.4225, allocations: 52.45 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.4232, allocations: 314.1 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.4233, allocations: 16.38 kB / 0.9555 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4235, allocations: 32.36 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.4252, allocations: 213.9 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4253, allocations: 4.172 kB / 0.9557 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.4253, allocations: 7.938 kB / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4253, allocations: 0 / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4266, allocations: 103.9 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.4274, allocations: 377.3 kB / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.4294, allocations: 178.5 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.4308, allocations: 112.8 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.4309, allocations: 0 / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/0.4326, allocations: 235 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.795e-06/0.4326, allocations: 0 / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.004749/0.4374, allocations: 484.9 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.4375, allocations: 63.38 kB / 0.9572 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.4383, allocations: 413.8 kB / 0.9576 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.4385, allocations: 41.69 kB / 0.9576 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.4386, allocations: 89.45 kB / 0.9577 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/0.4387, allocations: 35.55 kB / 0.9577 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.4391, allocations: 137.2 kB / 0.9579 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4393, allocations: 330.8 kB / 0.9582 GB, free: 484 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.4399, allocations: 119.9 kB / 0.9583 GB, free: 364 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.4404, allocations: 167.9 kB / 0.9585 GB, free: 176 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.4412, allocations: 279.2 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.4413, allocations: 3.938 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001568/0.4429, allocations: 495 kB / 0.9592 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.443, allocations: 95.5 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4431, allocations: 4 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.4431, allocations: 4 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.4434, allocations: 23.92 kB / 0.9593 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.4434, allocations: 7.984 kB / 0.9593 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000947/0.4444, allocations: 59.8 kB / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.4446, allocations: 59.98 kB / 0.9595 GB, free: 15.1 MB / 0.7481 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.0004269/0.445, allocations: 192 kB / 0.9596 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.4452, allocations: 43.45 kB / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.4453, allocations: 43.75 kB / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.4453, allocations: 0 / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4454, allocations: 0 / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4454, allocations: 0 / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/0.4493, allocations: 0.7441 MB / 0.9604 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4493, allocations: 3.938 kB / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.4494, allocations: 4 kB / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.4494, allocations: 3.984 kB / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.4495, allocations: 23.97 kB / 0.9605 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4495, allocations: 4 kB / 0.9605 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4495, allocations: 0 / 0.9605 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.4527, allocations: 478.7 kB / 0.9609 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.4533, allocations: 200.5 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.4534, allocations: 8 kB / 0.9611 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.4543, allocations: 27.97 kB / 0.9612 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.4544, allocations: 15.92 kB / 0.9612 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.4545, allocations: 55.97 kB / 0.9612 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005983/0.4551, allocations: 299 kB / 0.9615 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4551, allocations: 0 / 0.9615 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007237/0.4559, allocations: 71.98 kB / 0.9616 GB, free: 12.8 MB / 0.7481 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.0002677/0.4562, allocations: 122 kB / 0.9617 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002467/0.4586, allocations: 445.7 kB / 0.9621 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4587, allocations: 384 / 0.9621 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.4601, allocations: 127.9 kB / 0.9623 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.4608, allocations: 35.23 kB / 0.9623 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4635, allocations: 0.5843 MB / 0.9629 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.464, allocations: 0.7746 MB / 0.9636 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.4641, allocations: 19.42 kB / 0.9636 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.4641, allocations: 4 kB / 0.9636 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of Templates: time 0.01154/0.4757, allocations: 3.677 MB / 0.9672 GB, free: 6.902 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches