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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.805/1.805, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009655/0.0009655, allocations: 184 kB / 490.8 MB, free: 1.977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 221.4 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008903/0.0008902, allocations: 110.1 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.03e-05, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.268, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8257/1.094, allocations: 152 MB / 1.36 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.094, allocations: 68.5 kB / 1.36 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01495/1.109, allocations: 4.264 MB / 1.364 GB, free: 17.19 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.109, allocations: 3.312 kB / 1.364 GB, free: 17.19 MB / 0.823 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.0009172/1.11, allocations: 0.623 MB / 1.365 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.11, allocations: 9.25 kB / 1.365 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/1.11, allocations: 34.84 kB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/1.111, allocations: 258.9 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/1.111, allocations: 5.984 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/1.111, allocations: 14.97 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/1.111, allocations: 44.34 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/1.111, allocations: 144.1 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.111, allocations: 1.125 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/1.111, allocations: 5.406 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.111, allocations: 2.125 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/1.112, allocations: 299.8 kB / 1.366 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/1.112, allocations: 102.1 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/1.112, allocations: 54.84 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/1.112, allocations: 3.344 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/1.112, allocations: 162 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/1.112, allocations: 0 / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004739/1.113, allocations: 179.2 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/1.113, allocations: 58.95 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/1.113, allocations: 251.5 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/1.113, allocations: 31.09 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/1.113, allocations: 91.61 kB / 1.366 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/1.113, allocations: 33.58 kB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/1.114, allocations: 8.438 kB / 1.367 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.114, allocations: 325.6 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/1.114, allocations: 74.72 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/1.114, allocations: 129.3 kB / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/1.114, allocations: 76.23 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.114, allocations: 1.094 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005761/1.115, allocations: 259.4 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.115, allocations: 9.594 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.115, allocations: 1.312 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.115, allocations: 9.078 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.115, allocations: 30.58 kB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.115, allocations: 2.844 kB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/1.115, allocations: 38.95 kB / 1.367 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/1.116, allocations: 43.47 kB / 1.367 GB, free: 31.27 MB / 0.8386 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/1.116, allocations: 127.2 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/1.116, allocations: 23.28 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-05/1.116, allocations: 28.16 kB / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.116, allocations: 6.594 kB / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.116, allocations: 0 / 1.368 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.116, allocations: 5.766 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/1.117, allocations: 0.504 MB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.117, allocations: 1.219 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/1.117, allocations: 5.391 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.117, allocations: 0 / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/1.117, allocations: 17.38 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.117, allocations: 4.938 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.117, allocations: 2.234 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003798/1.117, allocations: 277.5 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/1.118, allocations: 159.6 kB / 1.369 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/1.118, allocations: 17.45 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/1.118, allocations: 32.84 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/1.118, allocations: 10.73 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/1.118, allocations: 44.73 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002325/1.118, allocations: 197.4 kB / 1.369 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004414/1.119, allocations: 47 kB / 1.369 GB, free: 30.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001935/1.119, allocations: 116.9 kB / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005127/1.12, allocations: 249.7 kB / 1.369 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.12, allocations: 0 / 1.369 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/1.12, allocations: 62.98 kB / 1.369 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/1.12, allocations: 26.62 kB / 1.369 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/1.121, allocations: 274 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/1.121, allocations: 0.767 MB / 1.37 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.121, allocations: 0 / 1.37 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of Templates: time 0.009112/1.131, allocations: 3.888 MB / 1.374 GB, free: 29.09 MB / 0.8386 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","../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.daySampleStart,calTim.hour,calTim.hourSampleStart,calTim.minute,calTim.month,calTim.offset,calTim.outputUnixTimeStamp,calTim.timOff,calTim.timZon,calTim.weekDay,calTim.year,calTim.yearRef,calTim.zerTim,time