Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001837, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002305/0.002305, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.47/1.47, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.004109/1.086, allocations: 1.51 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00202/1.088, allocations: 0.5508 MB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.961e-05/1.088, allocations: 0.75 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/1.088, allocations: 11.22 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/1.088, allocations: 26.31 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/1.09, allocations: 309.1 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009002/1.091, allocations: 0.5 MB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/1.091, allocations: 5.891 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005944/1.091, allocations: 274.1 kB / 1.092 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/1.092, allocations: 147.5 kB / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/1.092, allocations: 26.84 kB / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/1.092, allocations: 26.75 kB / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/1.092, allocations: 114.4 kB / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/1.092, allocations: 185.7 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007338/1.093, allocations: 426.5 kB / 1.093 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.093, allocations: 0.7188 kB / 1.093 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/1.093, allocations: 0 / 1.093 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.093, allocations: 0.6875 kB / 1.093 GB, free: 3.328 MB / 0.8575 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.001644/1.095, allocations: 0.8691 MB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/1.095, allocations: 9 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/1.095, allocations: 47.58 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/1.096, allocations: 304.2 kB / 1.094 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.716e-05/1.096, allocations: 21.75 kB / 1.094 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/1.096, allocations: 30.39 kB / 1.094 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.098, allocations: 215.4 kB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.098, allocations: 192 / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/1.098, allocations: 15.56 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.098, allocations: 0.9375 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/1.099, allocations: 100.1 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/1.1, allocations: 390.7 kB / 1.095 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/1.102, allocations: 176.6 kB / 1.095 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/1.103, allocations: 108.2 kB / 1.095 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/1.103, allocations: 5.938 kB / 1.095 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/1.104, allocations: 230.8 kB / 1.095 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 3.055e-06/1.104, allocations: 0 / 1.095 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.00465/1.109, allocations: 486.4 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/1.109, allocations: 61.28 kB / 1.096 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/1.11, allocations: 411.9 kB / 1.096 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000256/1.11, allocations: 39.48 kB / 1.096 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/1.111, allocations: 94.77 kB / 1.096 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/1.111, allocations: 41.33 kB / 1.096 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/1.111, allocations: 131.6 kB / 1.096 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/1.111, allocations: 321.5 kB / 1.097 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/1.112, allocations: 116 kB / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/1.112, allocations: 185.1 kB / 1.097 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/1.113, allocations: 276.7 kB / 1.097 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.113, allocations: 0 / 1.097 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001474/1.114, allocations: 495.6 kB / 1.098 GB, free: 328 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.114, allocations: 87.97 kB / 1.098 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.114, allocations: 6.422 kB / 1.098 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/1.114, allocations: 2.219 kB / 1.098 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/1.115, allocations: 20.67 kB / 1.098 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/1.115, allocations: 6.406 kB / 1.098 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/1.116, allocations: 63.27 kB / 1.098 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.116, allocations: 61.42 kB / 1.098 GB, free: 224 kB / 0.8575 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.0004954/1.116, allocations: 191.5 kB / 1.098 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/1.116, allocations: 37.52 kB / 1.098 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/1.117, allocations: 48.78 kB / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.117, allocations: 1.688 kB / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.117, allocations: 0 / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005111/1.117, allocations: 196.6 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/1.117, allocations: 15.48 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/1.118, allocations: 28.31 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/1.118, allocations: 7.375 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002917/1.121, allocations: 426.2 kB / 1.099 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003019/1.124, allocations: 0.5473 MB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00128/1.125, allocations: 117 kB / 1.099 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006604/1.126, allocations: 297.9 kB / 1.1 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of Backend: time 1.403e-06/1.126, allocations: 4 kB / 1.1 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001743/1.128, allocations: 413.4 kB / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001739/1.13, allocations: 0.9311 MB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.02128/1.151, allocations: 5.044 MB / 1.106 GB, free: 13.41 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches