Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.1/2.1, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001277/0.001277, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.334/1.334, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.001039/0.001039, allocations: 87.97 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.426e-05/1.43e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2101, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7764/0.9866, allocations: 151.3 MB / 1.354 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.9868, allocations: 72.47 kB / 1.354 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01355/1, allocations: 4.564 MB / 1.358 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.043e-06/1, allocations: 0 / 1.358 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.499e-05/1, allocations: 7.906 kB / 1.358 GB, free: 33.87 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.0007297/1.001, allocations: 0.6312 MB / 1.359 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/1.001, allocations: 7.688 kB / 1.359 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/1.001, allocations: 30.78 kB / 1.359 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/1.002, allocations: 252.8 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/1.002, allocations: 7.438 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/1.002, allocations: 18.5 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001148/1.002, allocations: 44.2 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/1.002, allocations: 143.9 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.002, allocations: 0 / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/1.002, allocations: 3.625 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/1.002, allocations: 3.875 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/1.002, allocations: 304 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/1.003, allocations: 103.2 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.262e-05/1.003, allocations: 52.19 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/1.003, allocations: 8.719 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/1.003, allocations: 154.9 kB / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/1.003, allocations: 0 / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004085/1.003, allocations: 251.1 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/1.003, allocations: 56.73 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/1.004, allocations: 240.9 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/1.004, allocations: 34.86 kB / 1.36 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/1.004, allocations: 94.73 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/1.004, allocations: 33.48 kB / 1.361 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/1.004, allocations: 3.812 kB / 1.361 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.004, allocations: 325.2 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/1.004, allocations: 78.03 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/1.004, allocations: 123.7 kB / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/1.004, allocations: 76.77 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.004, allocations: 4 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004688/1.005, allocations: 299.5 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/1.005, allocations: 69.69 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/1.005, allocations: 8.906 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.005, allocations: 3.953 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/1.005, allocations: 22.61 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.005, allocations: 9.422 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/1.005, allocations: 41.45 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/1.006, allocations: 45.64 kB / 1.362 GB, free: 31.88 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.0001229/1.006, allocations: 124.1 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/1.006, allocations: 24.86 kB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/1.006, allocations: 28.5 kB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.006, allocations: 7.953 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.006, allocations: 0 / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.006, allocations: 0 / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006627/1.006, allocations: 0.5558 MB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.007, allocations: 3.875 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/1.007, allocations: 9.344 kB / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.007, allocations: 0 / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/1.007, allocations: 22.61 kB / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.007, allocations: 0 / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.007, allocations: 4 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/1.007, allocations: 336.1 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/1.007, allocations: 162.2 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/1.007, allocations: 7.719 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/1.008, allocations: 38.19 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/1.008, allocations: 11.98 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/1.008, allocations: 48.69 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001465/1.008, allocations: 192.8 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.008, allocations: 0 / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003085/1.008, allocations: 44.11 kB / 1.363 GB, free: 31.12 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.0001437/1.008, allocations: 125.5 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003741/1.009, allocations: 319 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.009, allocations: 4.125 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/1.009, allocations: 68.47 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/1.009, allocations: 17.23 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/1.009, allocations: 270 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/1.01, allocations: 0.7481 MB / 1.365 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.565e-05/1.01, allocations: 15.88 kB / 1.365 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/1.01, allocations: 14.59 kB / 1.365 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.01, allocations: 0 / 1.365 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.006042/1.016, allocations: 3.764 MB / 1.368 GB, free: 29.63 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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