Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001622/0.001622, allocations: 116.2 kB / 16.81 MB, free: 5.766 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.001799/0.001799, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.52/1.52, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 476.7 MB / 0.7556 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.16 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4431, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00285/0.446, allocations: 1.518 MB / 1.263 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.4473, allocations: 0.5519 MB / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.4474, allocations: 0 / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.4475, allocations: 11.86 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.4476, allocations: 27.86 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/0.4484, allocations: 305.6 kB / 1.264 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.449, allocations: 479.4 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.449, allocations: 7.984 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.4494, allocations: 283.6 kB / 1.265 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.4497, allocations: 147.4 kB / 1.265 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.574e-05/0.4498, allocations: 28 kB / 1.265 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.4499, allocations: 24 kB / 1.265 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.45, allocations: 111.6 kB / 1.265 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.4502, allocations: 183.1 kB / 1.266 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.4507, allocations: 434.3 kB / 1.266 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4507, allocations: 4 kB / 1.266 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4507, allocations: 0 / 1.266 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4507, allocations: 4 kB / 1.266 GB, free: 8.891 MB / 0.9825 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.001326/0.452, allocations: 0.8742 MB / 1.267 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4521, allocations: 8.031 kB / 1.267 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4522, allocations: 52.69 kB / 1.267 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.4526, allocations: 306.6 kB / 1.267 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.4527, allocations: 20.36 kB / 1.267 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.4527, allocations: 28.36 kB / 1.267 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.4538, allocations: 214.6 kB / 1.267 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4538, allocations: 4.125 kB / 1.267 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.4538, allocations: 15.86 kB / 1.267 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4538, allocations: 0 / 1.267 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.4546, allocations: 99.92 kB / 1.268 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.4551, allocations: 393.2 kB / 1.268 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.4561, allocations: 163.6 kB / 1.268 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007689/0.4569, allocations: 108.8 kB / 1.268 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.4569, allocations: 4 kB / 1.268 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.4579, allocations: 221.9 kB / 1.268 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 4.899e-06/0.4579, allocations: 7.984 kB / 1.268 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002676/0.4606, allocations: 489 kB / 1.269 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.4607, allocations: 59.41 kB / 1.269 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.4611, allocations: 413.9 kB / 1.269 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.4612, allocations: 37.7 kB / 1.269 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.4613, allocations: 97.44 kB / 1.269 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.4613, allocations: 43.61 kB / 1.27 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.4615, allocations: 129.5 kB / 1.27 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4617, allocations: 318.8 kB / 1.27 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.4619, allocations: 127.9 kB / 1.27 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.4622, allocations: 182.4 kB / 1.27 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.4626, allocations: 275.5 kB / 1.27 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4626, allocations: 0 / 1.27 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008406/0.4635, allocations: 488.6 kB / 1.271 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/0.4635, allocations: 91.38 kB / 1.271 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.4636, allocations: 3.938 kB / 1.271 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4636, allocations: 8.188 kB / 1.271 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.4637, allocations: 19.97 kB / 1.271 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.4638, allocations: 7.938 kB / 1.271 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.4643, allocations: 59.84 kB / 1.271 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/0.4643, allocations: 55.98 kB / 1.271 GB, free: 3.219 MB / 0.9825 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.0002437/0.4646, allocations: 200 kB / 1.271 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.4647, allocations: 39.77 kB / 1.271 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.4647, allocations: 43.62 kB / 1.271 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4647, allocations: 0 / 1.271 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4647, allocations: 0 / 1.271 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.465, allocations: 204.7 kB / 1.272 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.4651, allocations: 8 kB / 1.272 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.4655, allocations: 31.97 kB / 1.272 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.4656, allocations: 11.98 kB / 1.272 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001766/0.4673, allocations: 423.5 kB / 1.272 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00187/0.4692, allocations: 0.545 MB / 1.273 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007602/0.47, allocations: 111.9 kB / 1.273 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003256/0.4703, allocations: 299 kB / 1.273 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of Backend: time 5.21e-07/0.4703, allocations: 0 / 1.273 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000936/0.4712, allocations: 384.5 kB / 1.273 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of SimCode: time 0.001152/0.4724, allocations: 0.9382 MB / 1.274 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.009684/0.4821, allocations: 5.102 MB / 1.279 GB, free: 10.7 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches