Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001298, allocations: 114.3 kB / 16.42 MB, free: 6.5 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.001572/0.001572, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.447/1.447, allocations: 222.9 MB / 241 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.488/2.488, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.113, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003354/1.117, allocations: 1.741 MB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001954/1.119, allocations: 0.6207 MB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/1.119, allocations: 4 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/1.119, allocations: 15.86 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/1.119, allocations: 35.56 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/1.121, allocations: 361.9 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007756/1.122, allocations: 0.636 MB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/1.122, allocations: 37.05 kB / 1.171 GB, free: 436 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/1.122, allocations: 307.6 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/1.122, allocations: 160 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/1.123, allocations: 44 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/1.123, allocations: 40 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/1.123, allocations: 119.7 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/1.123, allocations: 219 kB / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007101/1.124, allocations: 0.5923 MB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.124, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/1.124, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.273e-05/1.124, allocations: 0 / 1.172 GB, free: 14.96 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001568/1.125, allocations: 0.9169 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.125, allocations: 12.58 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/1.126, allocations: 56.66 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/1.126, allocations: 338.5 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/1.126, allocations: 16.38 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/1.126, allocations: 36.36 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/1.127, allocations: 233.9 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.127, allocations: 4.188 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/1.127, allocations: 15.81 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/1.127, allocations: 4 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/1.128, allocations: 119.8 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/1.129, allocations: 0.672 MB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.13, allocations: 190.4 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/1.131, allocations: 116.7 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/1.131, allocations: 0 / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009273/1.132, allocations: 227.2 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/1.132, allocations: 0 / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002398/1.135, allocations: 0.4916 MB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.135, allocations: 59.39 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/1.135, allocations: 441.9 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/1.135, allocations: 45.64 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.135, allocations: 109.4 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/1.135, allocations: 39.69 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/1.136, allocations: 137.5 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.136, allocations: 326.8 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/1.136, allocations: 139.9 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/1.136, allocations: 193.9 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/1.137, allocations: 299.3 kB / 1.177 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.137, allocations: 0 / 1.177 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008269/1.138, allocations: 0.5224 MB / 1.178 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-05/1.138, allocations: 99.38 kB / 1.178 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.138, allocations: 0 / 1.178 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.138, allocations: 4 kB / 1.178 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.138, allocations: 23.92 kB / 1.178 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.138, allocations: 0 / 1.178 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/1.138, allocations: 64.05 kB / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/1.138, allocations: 59.97 kB / 1.178 GB, free: 8.668 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.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.000238/1.139, allocations: 220.2 kB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/1.139, allocations: 39.77 kB / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/1.139, allocations: 43.78 kB / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.139, allocations: 0 / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.139, allocations: 0 / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/1.139, allocations: 252.6 kB / 1.178 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/1.139, allocations: 23.94 kB / 1.178 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/1.14, allocations: 23.97 kB / 1.179 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/1.14, allocations: 15.98 kB / 1.179 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001607/1.141, allocations: 420.7 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00167/1.143, allocations: 0.5441 MB / 1.179 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000726/1.144, allocations: 115.8 kB / 1.18 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003142/1.144, allocations: 327 kB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of Backend: time 7.11e-07/1.144, allocations: 3.938 kB / 1.18 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008938/1.145, allocations: 460.3 kB / 1.18 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001109/1.146, allocations: 0.9821 MB / 1.181 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of Templates: time 0.01/1.156, allocations: 5.535 MB / 1.187 GB, free: 15.5 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches