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.001831/0.001831, allocations: 113.2 kB / 16.42 MB, free: 6.492 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.001969/0.001969, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.508/1.508, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.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.682/2.682, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9694/0.9709, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002747/0.9737, allocations: 1.52 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.975, allocations: 0.5357 MB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.9751, allocations: 0 / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.493e-05/0.9753, allocations: 7.938 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.9754, allocations: 39.56 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.9763, allocations: 310.4 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006149/0.9769, allocations: 0.4994 MB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.977, allocations: 8 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.9775, allocations: 275.6 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.9779, allocations: 152.7 kB / 1.171 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.48e-05/0.978, allocations: 27.94 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.978, allocations: 28 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.9782, allocations: 111.7 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.9784, allocations: 187 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.9789, allocations: 423 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9789, allocations: 3.984 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9789, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.9789, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 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.001333/0.9803, allocations: 0.8782 MB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.9803, allocations: 12.92 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.9805, allocations: 48.7 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.9809, allocations: 318.5 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.9809, allocations: 16.36 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.981, allocations: 32.36 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009545/0.982, allocations: 210 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.982, allocations: 192 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.982, allocations: 7.922 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.982, allocations: 4 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007461/0.9828, allocations: 99.92 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.9832, allocations: 381.3 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.9843, allocations: 187.6 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/0.985, allocations: 108.8 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.985, allocations: 7.984 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009531/0.986, allocations: 229.5 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.986, allocations: 3.938 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002572/0.9886, allocations: 493 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.9886, allocations: 59.41 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.9891, allocations: 417.8 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.9891, allocations: 41.7 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.9892, allocations: 89.44 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.9893, allocations: 39.75 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.9895, allocations: 125.5 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9896, allocations: 322.8 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.9899, allocations: 115.9 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.9902, allocations: 169.9 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.9906, allocations: 279.5 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9906, allocations: 4 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008264/0.9914, allocations: 491.2 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.758e-05/0.9915, allocations: 87.38 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9915, allocations: 3.938 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.9916, allocations: 4 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.9917, allocations: 31.91 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.9918, allocations: 8.125 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.9922, allocations: 63.73 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/0.9923, allocations: 59.98 kB / 1.176 GB, free: 10.12 MB / 0.9044 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.0002171/0.9926, allocations: 192 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.9926, allocations: 39.75 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.9927, allocations: 47.69 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9927, allocations: 0 / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.9927, allocations: 0 / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.993, allocations: 204.7 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/0.9931, allocations: 11.98 kB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.9935, allocations: 27.97 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.9936, allocations: 11.98 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001679/0.9952, allocations: 424.7 kB / 1.177 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00175/0.997, allocations: 0.5412 MB / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007353/0.9978, allocations: 110.2 kB / 1.178 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003213/0.9981, allocations: 295.1 kB / 1.178 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of Backend: time 1.002e-06/0.9981, allocations: 4 kB / 1.178 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009898/0.9991, allocations: 417 kB / 1.179 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001149/1, allocations: 0.9456 MB / 1.18 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of Templates: time 0.01024/1.011, allocations: 5.05 MB / 1.185 GB, free: 1.621 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches