Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.005/2.005, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001016/0.001016, allocations: 177.3 kB / 487 MB, free: 5.367 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.426/1.426, allocations: 221.3 MB / 0.7819 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 108.5 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7971/1.079, allocations: 151.2 MB / 1.353 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.079, allocations: 77.53 kB / 1.353 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01652/1.096, allocations: 4.25 MB / 1.357 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.391e-05/1.096, allocations: 3.125 kB / 1.357 GB, free: 15.51 MB / 0.8073 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.0008773/1.097, allocations: 0.638 MB / 1.358 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/1.097, allocations: 10.83 kB / 1.358 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.097, allocations: 30.53 kB / 1.358 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/1.097, allocations: 255.4 kB / 1.358 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/1.097, allocations: 8.703 kB / 1.358 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/1.097, allocations: 15.59 kB / 1.358 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001654/1.098, allocations: 44.86 kB / 1.358 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/1.098, allocations: 140 kB / 1.358 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.098, allocations: 8.734 kB / 1.358 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/1.098, allocations: 1.625 kB / 1.358 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.098, allocations: 5.875 kB / 1.358 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/1.098, allocations: 300 kB / 1.358 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/1.099, allocations: 96.11 kB / 1.359 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/1.099, allocations: 56.05 kB / 1.359 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/1.099, allocations: 2.859 kB / 1.359 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/1.099, allocations: 155.2 kB / 1.359 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/1.099, allocations: 0.6875 kB / 1.359 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0006123/1.1, allocations: 183.5 kB / 1.359 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.1, allocations: 61.62 kB / 1.359 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/1.1, allocations: 247.2 kB / 1.359 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/1.1, allocations: 36.73 kB / 1.359 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/1.101, allocations: 86.38 kB / 1.359 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/1.101, allocations: 40.52 kB / 1.359 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/1.101, allocations: 3.969 kB / 1.359 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.101, allocations: 323.6 kB / 1.36 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/1.101, allocations: 73.45 kB / 1.36 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/1.101, allocations: 129.2 kB / 1.36 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/1.101, allocations: 78.16 kB / 1.36 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.101, allocations: 0 / 1.36 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006584/1.102, allocations: 261.2 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/1.102, allocations: 4.406 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.102, allocations: 6.125 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/1.102, allocations: 3.156 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/1.102, allocations: 27.53 kB / 1.36 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.102, allocations: 7.016 kB / 1.36 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/1.103, allocations: 48.38 kB / 1.36 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.103, allocations: 38.69 kB / 1.36 GB, free: 13.58 MB / 0.8073 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.0001906/1.103, allocations: 126.4 kB / 1.36 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/1.103, allocations: 24.22 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/1.103, allocations: 29.72 kB / 1.361 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.103, allocations: 1.906 kB / 1.361 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.103, allocations: 4.5 kB / 1.361 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.103, allocations: 1.219 kB / 1.361 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/1.104, allocations: 0.497 MB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.104, allocations: 0.5 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/1.104, allocations: 5.453 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/1.104, allocations: 4.922 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/1.104, allocations: 19.25 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.105, allocations: 1.172 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.105, allocations: 0.625 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003626/1.105, allocations: 285.1 kB / 1.361 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/1.105, allocations: 161 kB / 1.361 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/1.105, allocations: 13.67 kB / 1.361 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/1.106, allocations: 35.47 kB / 1.362 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/1.106, allocations: 11.28 kB / 1.362 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/1.106, allocations: 38.52 kB / 1.362 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001515/1.106, allocations: 200.8 kB / 1.362 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003259/1.106, allocations: 49.66 kB / 1.362 GB, free: 12.54 MB / 0.8073 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.0001495/1.106, allocations: 116.2 kB / 1.362 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004064/1.107, allocations: 248.6 kB / 1.362 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.107, allocations: 8.375 kB / 1.362 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.922e-05/1.107, allocations: 65.34 kB / 1.362 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/1.107, allocations: 19.19 kB / 1.362 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/1.108, allocations: 273.1 kB / 1.362 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/1.108, allocations: 0.7646 MB / 1.363 GB, free: 27.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/1.108, allocations: 0 / 1.363 GB, free: 27.2 MB / 0.823 GB Notification: Performance of Templates: time 0.007084/1.115, allocations: 3.898 MB / 1.367 GB, free: 24.15 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","../files/Buildings_9_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