Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [: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.813/1.813, allocations: 390.4 MB / 397.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009931/0.000993, allocations: 181 kB / 490.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.4 MB / 0.7863 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.0008851, allocations: 92.2 kB / 0.9264 GB, free: 64.5 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.203e-06, allocations: 0 / 1.072 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3439, allocations: 143 MB / 1.212 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7846/1.129, allocations: 151.9 MB / 1.36 GB, free: 47.09 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/1.129, allocations: 70.8 kB / 1.36 GB, free: 47.03 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0122/1.141, allocations: 4.246 MB / 1.364 GB, free: 42.9 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.35e-05/1.141, allocations: 4 kB / 1.364 GB, free: 42.9 MB / 0.8731 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.0006377/1.142, allocations: 0.6327 MB / 1.365 GB, free: 42.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.142, allocations: 8.688 kB / 1.365 GB, free: 42.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/1.142, allocations: 35.72 kB / 1.365 GB, free: 42.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/1.142, allocations: 255.2 kB / 1.365 GB, free: 41.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/1.142, allocations: 8 kB / 1.365 GB, free: 41.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/1.142, allocations: 16 kB / 1.365 GB, free: 41.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/1.142, allocations: 39.98 kB / 1.365 GB, free: 41.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/1.143, allocations: 150 kB / 1.365 GB, free: 41.64 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.143, allocations: 0 / 1.365 GB, free: 41.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/1.143, allocations: 0 / 1.365 GB, free: 41.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.143, allocations: 4.75 kB / 1.365 GB, free: 41.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/1.143, allocations: 305.9 kB / 1.366 GB, free: 41.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/1.143, allocations: 98.55 kB / 1.366 GB, free: 41.19 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/1.143, allocations: 56.22 kB / 1.366 GB, free: 41.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/1.143, allocations: 4 kB / 1.366 GB, free: 41.13 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/1.144, allocations: 155.2 kB / 1.366 GB, free: 40.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/1.144, allocations: 0 / 1.366 GB, free: 40.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.000345/1.144, allocations: 189.7 kB / 1.366 GB, free: 40.78 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/1.144, allocations: 55.41 kB / 1.366 GB, free: 40.71 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/1.144, allocations: 251.3 kB / 1.366 GB, free: 40.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/1.144, allocations: 33.7 kB / 1.366 GB, free: 40.42 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/1.144, allocations: 89.14 kB / 1.366 GB, free: 40.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/1.144, allocations: 35.55 kB / 1.366 GB, free: 40.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/1.144, allocations: 4 kB / 1.366 GB, free: 40.29 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/1.144, allocations: 322.8 kB / 1.367 GB, free: 39.97 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/1.144, allocations: 83.97 kB / 1.367 GB, free: 39.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/1.145, allocations: 118 kB / 1.367 GB, free: 39.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/1.145, allocations: 75.89 kB / 1.367 GB, free: 39.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.145, allocations: 0 / 1.367 GB, free: 39.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004075/1.145, allocations: 260.9 kB / 1.367 GB, free: 39.42 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.145, allocations: 4 kB / 1.367 GB, free: 39.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.145, allocations: 4.688 kB / 1.367 GB, free: 39.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.145, allocations: 4 kB / 1.367 GB, free: 39.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/1.145, allocations: 23.98 kB / 1.367 GB, free: 39.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.145, allocations: 0 / 1.367 GB, free: 39.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/1.146, allocations: 55.88 kB / 1.367 GB, free: 39.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/1.146, allocations: 41.23 kB / 1.367 GB, free: 39.29 MB / 0.8731 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.0001003/1.146, allocations: 128 kB / 1.368 GB, free: 39.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/1.146, allocations: 23.72 kB / 1.368 GB, free: 39.14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/1.146, allocations: 27.05 kB / 1.368 GB, free: 39.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.146, allocations: 4.703 kB / 1.368 GB, free: 39.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.146, allocations: 0 / 1.368 GB, free: 39.11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.146, allocations: 3.906 kB / 1.368 GB, free: 39.1 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/1.147, allocations: 0.4948 MB / 1.368 GB, free: 38.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.147, allocations: 4 kB / 1.368 GB, free: 38.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/1.147, allocations: 0 / 1.368 GB, free: 38.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.147, allocations: 8.562 kB / 1.368 GB, free: 38.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/1.147, allocations: 19.47 kB / 1.368 GB, free: 38.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.147, allocations: 0 / 1.368 GB, free: 38.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.147, allocations: 3.938 kB / 1.368 GB, free: 38.53 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002516/1.147, allocations: 284.8 kB / 1.368 GB, free: 38.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/1.147, allocations: 160.7 kB / 1.369 GB, free: 38.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/1.147, allocations: 15.89 kB / 1.369 GB, free: 38.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/1.148, allocations: 35.97 kB / 1.369 GB, free: 38.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/1.148, allocations: 8 kB / 1.369 GB, free: 38.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/1.148, allocations: 44.48 kB / 1.369 GB, free: 37.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.000117/1.148, allocations: 195.1 kB / 1.369 GB, free: 37.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002906/1.148, allocations: 51.98 kB / 1.369 GB, free: 37.73 MB / 0.8731 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.0001527/1.148, allocations: 123.1 kB / 1.369 GB, free: 37.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003523/1.149, allocations: 247.3 kB / 1.369 GB, free: 37.35 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.149, allocations: 0 / 1.369 GB, free: 37.35 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/1.149, allocations: 67.91 kB / 1.369 GB, free: 37.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/1.149, allocations: 16.64 kB / 1.369 GB, free: 37.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/1.149, allocations: 272.9 kB / 1.37 GB, free: 36.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/1.15, allocations: 0.7625 MB / 1.37 GB, free: 36.18 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.15, allocations: 0 / 1.37 GB, free: 36.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.005685/1.155, allocations: 3.887 MB / 1.374 GB, free: 32.38 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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