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 1.995/1.995, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001026/0.001026, allocations: 176.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: 1.023 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.0008832/0.0008832, allocations: 91.95 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.55e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7522/0.9819, allocations: 151.2 MB / 1.354 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.9821, allocations: 70 kB / 1.354 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.9954, allocations: 4.575 MB / 1.358 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9955, allocations: 0 / 1.358 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.9955, allocations: 3.844 kB / 1.358 GB, free: 33.88 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.0006517/0.9962, allocations: 0.6293 MB / 1.359 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.9962, allocations: 17.08 kB / 1.359 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.9963, allocations: 27.16 kB / 1.359 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.9966, allocations: 252.6 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.9966, allocations: 11 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.9967, allocations: 13.89 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/0.9968, allocations: 45.16 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.997, allocations: 145.3 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.997, allocations: 0 / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.9971, allocations: 1.688 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.9971, allocations: 3.844 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.9974, allocations: 309 kB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.9975, allocations: 102 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/0.9976, allocations: 48.55 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.9976, allocations: 7.016 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.9978, allocations: 156.4 kB / 1.36 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.9978, allocations: 3.938 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003711/0.9982, allocations: 243.9 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.9982, allocations: 59.64 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.9984, allocations: 242.1 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.9985, allocations: 34.88 kB / 1.36 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.9985, allocations: 87.2 kB / 1.361 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.9986, allocations: 43.25 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.9986, allocations: 3.875 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.9987, allocations: 321.5 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.9989, allocations: 80.03 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.999, allocations: 123.5 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.9991, allocations: 81.47 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9991, allocations: 0 / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004277/0.9996, allocations: 294.7 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.9996, allocations: 78.03 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9996, allocations: 3.938 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.9997, allocations: 7.938 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.9998, allocations: 20.55 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.9998, allocations: 17.53 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/1, allocations: 37.44 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/1, allocations: 41.59 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.0001155/1, allocations: 121.1 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/1, allocations: 23.34 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/1, allocations: 35.69 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1, allocations: 5.406 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1, allocations: 0 / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/1, allocations: 3.938 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/1.001, allocations: 0.5565 MB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.001, allocations: 0 / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/1.001, allocations: 3.812 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/1.001, allocations: 3.938 kB / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/1.001, allocations: 19.53 kB / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.001, allocations: 4 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.001, allocations: 0 / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/1.001, allocations: 339.9 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/1.002, allocations: 163.7 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/1.002, allocations: 10.23 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/1.002, allocations: 37.06 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/1.002, allocations: 9.703 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/1.002, allocations: 47.64 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001392/1.002, allocations: 193.5 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.002, allocations: 0 / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003061/1.003, allocations: 45.44 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.0001411/1.003, allocations: 123.2 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003532/1.003, allocations: 319.2 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.003, allocations: 3.906 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/1.003, allocations: 62.97 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.000233/1.003, allocations: 21.11 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.0004201/1.004, allocations: 269.8 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/1.004, allocations: 0.7457 MB / 1.365 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.026e-05/1.004, allocations: 15.45 kB / 1.365 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/1.004, allocations: 16.7 kB / 1.365 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.004, allocations: 0 / 1.365 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.005446/1.01, allocations: 3.761 MB / 1.368 GB, free: 29.62 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