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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001165/0.001164, allocations: 184.1 kB / 492.3 MB, free: 0.625 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.56/1.56, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.0008154/0.0008149, allocations: 97.22 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.181e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.377, allocations: 151.9 MB / 1.361 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.378, allocations: 68.88 kB / 1.361 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01535/1.393, allocations: 4.595 MB / 1.365 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/1.393, allocations: 0 / 1.365 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.751e-05/1.393, allocations: 7.719 kB / 1.365 GB, free: 34.56 MB / 0.8386 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.0007271/1.394, allocations: 0.6312 MB / 1.366 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.394, allocations: 11.69 kB / 1.366 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/1.394, allocations: 27.28 kB / 1.366 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/1.394, allocations: 253.7 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/1.394, allocations: 10.84 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/1.394, allocations: 21.3 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/1.395, allocations: 148.5 kB / 1.366 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/1.395, allocations: 4 kB / 1.366 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/1.395, allocations: 10.05 kB / 1.366 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.395, allocations: 3.875 kB / 1.366 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/1.395, allocations: 40.41 kB / 1.366 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/1.395, allocations: 335.5 kB / 1.367 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/1.395, allocations: 108.5 kB / 1.367 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/1.395, allocations: 60.25 kB / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/1.396, allocations: 11.75 kB / 1.367 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/1.396, allocations: 153.5 kB / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/1.396, allocations: 0 / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004543/1.396, allocations: 254.1 kB / 1.367 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.396, allocations: 62.88 kB / 1.367 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/1.396, allocations: 251.4 kB / 1.368 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/1.397, allocations: 33.33 kB / 1.368 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/1.397, allocations: 94.55 kB / 1.368 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/1.397, allocations: 44.41 kB / 1.368 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/1.397, allocations: 6.688 kB / 1.368 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/1.397, allocations: 323 kB / 1.368 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/1.397, allocations: 86.53 kB / 1.368 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/1.397, allocations: 141.5 kB / 1.368 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/1.397, allocations: 151.3 kB / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.397, allocations: 0 / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000545/1.398, allocations: 398.9 kB / 1.369 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/1.398, allocations: 79.89 kB / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.398, allocations: 0 / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.398, allocations: 3.75 kB / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/1.398, allocations: 25.44 kB / 1.369 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.398, allocations: 3.938 kB / 1.369 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/1.398, allocations: 44.61 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/1.399, allocations: 47.39 kB / 1.369 GB, free: 32.41 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.0001157/1.399, allocations: 129 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/1.399, allocations: 23.28 kB / 1.369 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/1.399, allocations: 30.58 kB / 1.369 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.399, allocations: 0 / 1.369 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.399, allocations: 3.938 kB / 1.369 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.399, allocations: 2.625 kB / 1.369 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/1.399, allocations: 0.5968 MB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.399, allocations: 0 / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/1.4, allocations: 7.625 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.4, allocations: 2.953 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/1.4, allocations: 21.25 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.4, allocations: 0 / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.4, allocations: 3.984 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/1.4, allocations: 349.1 kB / 1.37 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/1.4, allocations: 166.8 kB / 1.37 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/1.4, allocations: 10.84 kB / 1.37 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/1.401, allocations: 32.42 kB / 1.37 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/1.401, allocations: 9.047 kB / 1.37 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/1.401, allocations: 37.25 kB / 1.37 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001677/1.401, allocations: 211.2 kB / 1.371 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.401, allocations: 4 kB / 1.371 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003663/1.401, allocations: 60.47 kB / 1.371 GB, free: 31.6 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.0001605/1.401, allocations: 114.9 kB / 1.371 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004393/1.402, allocations: 341.6 kB / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.402, allocations: 0 / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/1.402, allocations: 59.83 kB / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/1.402, allocations: 27.03 kB / 1.371 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/1.403, allocations: 278.5 kB / 1.371 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.403, allocations: 0.7467 MB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.771e-05/1.403, allocations: 12.06 kB / 1.372 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/1.403, allocations: 15.12 kB / 1.372 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.403, allocations: 3.938 kB / 1.372 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of Templates: time 0.007051/1.41, allocations: 3.912 MB / 1.376 GB, free: 30.12 MB / 0.8386 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