Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 109 kB / 16.42 MB, free: 6.52 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.001596/0.001596, allocations: 192.3 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 60.12 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9915/0.9929, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003672/0.9967, allocations: 1.51 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.9982, allocations: 0.5501 MB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.9984, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.9985, allocations: 11.86 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.9987, allocations: 23.86 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.9999, allocations: 304.9 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008025/1.001, allocations: 0.5111 MB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/1.001, allocations: 12 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/1.001, allocations: 267.6 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/1.002, allocations: 147.6 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/1.002, allocations: 31.94 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.924e-05/1.002, allocations: 27.94 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/1.002, allocations: 111.7 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002445/1.002, allocations: 187 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/1.003, allocations: 420.4 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.003, allocations: 4 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.274e-06/1.003, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.395e-05/1.003, allocations: 4 kB / 1.212 GB, free: 9.566 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.001641/1.005, allocations: 0.8625 MB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.005, allocations: 8.031 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/1.005, allocations: 56.44 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/1.005, allocations: 306.3 kB / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/1.005, allocations: 20.36 kB / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/1.005, allocations: 28.36 kB / 1.214 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/1.007, allocations: 213.9 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.007, allocations: 192 / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/1.007, allocations: 11.92 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.007, allocations: 4 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/1.008, allocations: 99.92 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/1.008, allocations: 389.2 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/1.009, allocations: 170.5 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008017/1.01, allocations: 120.6 kB / 1.215 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/1.01, allocations: 3.938 kB / 1.215 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/1.011, allocations: 231.2 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/1.011, allocations: 0 / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002746/1.014, allocations: 484.8 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.014, allocations: 55.41 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/1.014, allocations: 417.8 kB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/1.015, allocations: 37.7 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.015, allocations: 97.44 kB / 1.216 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/1.015, allocations: 39.45 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/1.015, allocations: 129.2 kB / 1.216 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.015, allocations: 326.8 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/1.015, allocations: 115.9 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/1.016, allocations: 167.2 kB / 1.217 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/1.016, allocations: 279.3 kB / 1.217 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.016, allocations: 3.938 kB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008485/1.017, allocations: 487.1 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/1.017, allocations: 91.38 kB / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.017, allocations: 7.938 kB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.017, allocations: 0 / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/1.017, allocations: 27.91 kB / 1.217 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.017, allocations: 4 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/1.018, allocations: 59.73 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.018, allocations: 59.98 kB / 1.218 GB, free: 3.91 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002736/1.018, allocations: 197.7 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/1.018, allocations: 39.52 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/1.018, allocations: 47.69 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.018, allocations: 3.984 kB / 1.218 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.018, allocations: 0 / 1.218 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/1.019, allocations: 204.4 kB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/1.019, allocations: 8 kB / 1.218 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/1.019, allocations: 35.97 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/1.019, allocations: 7.984 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001841/1.021, allocations: 421.7 kB / 1.218 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001906/1.023, allocations: 0.5479 MB / 1.219 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008358/1.024, allocations: 111.9 kB / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004589/1.024, allocations: 295.1 kB / 1.219 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of Backend: time 1.052e-06/1.024, allocations: 0 / 1.219 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.026, allocations: 419.4 kB / 1.22 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001499/1.027, allocations: 0.9306 MB / 1.221 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of Templates: time 0.01202/1.039, allocations: 5.121 MB / 1.226 GB, free: 11.33 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches