Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 114.7 kB / 16.42 MB, free: 6.473 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.00169/0.00169, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 68.11 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222/1.224, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002918/1.227, allocations: 1.523 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001279/1.228, allocations: 0.5501 MB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/1.228, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/1.228, allocations: 7.875 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/1.228, allocations: 27.84 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007668/1.229, allocations: 314.5 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005051/1.23, allocations: 0.5033 MB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/1.23, allocations: 8 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/1.23, allocations: 275.6 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/1.23, allocations: 147.6 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/1.23, allocations: 28 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/1.231, allocations: 24 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/1.231, allocations: 119.6 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/1.231, allocations: 183.1 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/1.231, allocations: 420.4 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/1.231, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.895e-06/1.231, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.231, allocations: 11.94 kB / 1.212 GB, free: 9.543 MB / 0.9356 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.001216/1.232, allocations: 0.8586 MB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.233, allocations: 8.031 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/1.233, allocations: 48.47 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/1.233, allocations: 310.3 kB / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/1.233, allocations: 16.36 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/1.233, allocations: 24.38 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/1.234, allocations: 221.9 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.234, allocations: 192 / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/1.234, allocations: 7.938 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.234, allocations: 0 / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/1.235, allocations: 103.9 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/1.235, allocations: 393.1 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.237, allocations: 182.4 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/1.237, allocations: 116.7 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/1.237, allocations: 0 / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009396/1.238, allocations: 221.6 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/1.238, allocations: 4 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002547/1.241, allocations: 484.8 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/1.241, allocations: 63.39 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/1.241, allocations: 409.9 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/1.241, allocations: 41.69 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/1.241, allocations: 93.39 kB / 1.216 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/1.241, allocations: 47.38 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/1.242, allocations: 129.3 kB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.242, allocations: 318.8 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/1.242, allocations: 119.9 kB / 1.216 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/1.242, allocations: 171.2 kB / 1.217 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/1.243, allocations: 282.6 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.243, allocations: 0 / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007527/1.243, allocations: 487.1 kB / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/1.244, allocations: 83.38 kB / 1.217 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.244, allocations: 7.938 kB / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.244, allocations: 4.188 kB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/1.244, allocations: 27.92 kB / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.244, allocations: 4 kB / 1.217 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/1.244, allocations: 55.8 kB / 1.218 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/1.244, allocations: 59.97 kB / 1.218 GB, free: 3.895 MB / 0.9356 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.0002273/1.245, allocations: 196 kB / 1.218 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/1.245, allocations: 43.47 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/1.245, allocations: 43.67 kB / 1.218 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.245, allocations: 0 / 1.218 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.245, allocations: 0 / 1.218 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/1.245, allocations: 200.5 kB / 1.218 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/1.245, allocations: 8 kB / 1.218 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/1.246, allocations: 35.95 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/1.246, allocations: 8 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001688/1.247, allocations: 424.7 kB / 1.218 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001752/1.249, allocations: 0.5434 MB / 1.219 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007547/1.25, allocations: 119.8 kB / 1.219 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002833/1.25, allocations: 295.1 kB / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of Backend: time 4.8e-07/1.25, allocations: 0 / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008594/1.251, allocations: 423 kB / 1.22 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001021/1.252, allocations: 0.9267 MB / 1.221 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of Templates: time 0.01058/1.263, allocations: 5.039 MB / 1.226 GB, free: 11.41 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches