Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonths,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.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_10_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.000868/0.000868, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006615/0.006614, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.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.638/2.638, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003936, allocations: 8 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7567, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001673/0.7584, allocations: 1.243 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.7597, allocations: 0.5737 MB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.7598, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.7599, allocations: 19.86 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.76, allocations: 23.86 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.7609, allocations: 287.4 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.7613, allocations: 447.4 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.7614, allocations: 4 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.7619, allocations: 303 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.7622, allocations: 171.2 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.7623, allocations: 16 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.7624, allocations: 12 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.7625, allocations: 111.6 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.7628, allocations: 208.5 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.7632, allocations: 412.4 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7632, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7632, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.7632, allocations: 4 kB / 1.027 GB, free: 12.03 MB / 0.7794 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.001067/0.7643, allocations: 0.7576 MB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7644, allocations: 11.97 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.7645, allocations: 52.47 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.7649, allocations: 306.3 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.7649, allocations: 16.36 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-05/0.765, allocations: 32.36 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.766, allocations: 218 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.7661, allocations: 192 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.7661, allocations: 7.922 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7661, allocations: 4 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.7669, allocations: 111.9 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.7674, allocations: 393.2 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.7685, allocations: 194.3 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.7693, allocations: 128.8 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.7693, allocations: 4 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000977/0.7703, allocations: 227.2 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.7703, allocations: 0 / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002769/0.7731, allocations: 0.5187 MB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.7732, allocations: 55.41 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.7736, allocations: 417.8 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.7737, allocations: 37.7 kB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.7737, allocations: 101.4 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.7738, allocations: 35.53 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.7739, allocations: 41.7 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.774, allocations: 318.8 kB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.7743, allocations: 123.9 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.7746, allocations: 169.9 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.775, allocations: 282.7 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.775, allocations: 0 / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008332/0.7758, allocations: 494.1 kB / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.7759, allocations: 93.03 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.7759, allocations: 4 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.776, allocations: 0 / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.7761, allocations: 27.92 kB / 1.032 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7761, allocations: 4 kB / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.7767, allocations: 75.91 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.7768, allocations: 55.98 kB / 1.032 GB, free: 6.461 MB / 0.7794 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.0002306/0.777, allocations: 196.5 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.7771, allocations: 39.47 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.7772, allocations: 47.73 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7772, allocations: 4 kB / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7772, allocations: 0 / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7772, allocations: 0 / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.7795, allocations: 0.7636 MB / 1.033 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7796, allocations: 0 / 1.033 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.7796, allocations: 7.984 kB / 1.033 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.7796, allocations: 8 kB / 1.033 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.7797, allocations: 15.98 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.7797, allocations: 3.984 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7797, allocations: 0 / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.7816, allocations: 498.7 kB / 1.033 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.7818, allocations: 196.5 kB / 1.034 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.7819, allocations: 15.98 kB / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.7824, allocations: 35.97 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.7825, allocations: 11.98 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.7825, allocations: 59.91 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002961/0.7828, allocations: 299.1 kB / 1.034 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7829, allocations: 0 / 1.034 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003598/0.7832, allocations: 60 kB / 1.034 GB, free: 4.125 MB / 0.7794 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.0001624/0.7834, allocations: 121.2 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.7848, allocations: 462.4 kB / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7848, allocations: 0 / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008094/0.7856, allocations: 132.2 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.786, allocations: 30.61 kB / 1.035 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.7876, allocations: 0.6756 MB / 1.035 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.788, allocations: 0.7711 MB / 1.036 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.62e-05/0.788, allocations: 17.08 kB / 1.036 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.7881, allocations: 15.38 kB / 1.036 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7881, allocations: 0 / 1.036 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of Templates: time 0.009296/0.7974, allocations: 4.932 MB / 1.041 GB, free: 12.8 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches