Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 293 MB / 309 MB, free: 4.773 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 172.6 kB / 378.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 0.6383 GB, free: 8.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007415/0.0007414, allocations: 91.72 kB / 0.7527 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2154, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5768/0.7923, allocations: 140.9 MB / 1.128 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.7925, allocations: 73.38 kB / 1.128 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.804, allocations: 4.471 MB / 1.133 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8041, allocations: 0 / 1.133 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.8041, allocations: 4 kB / 1.133 GB, free: 30.11 MB / 0.7292 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.0007024/0.8048, allocations: 0.6149 MB / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.8048, allocations: 12.03 kB / 1.133 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.8049, allocations: 36.17 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.8052, allocations: 257.7 kB / 1.133 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.8052, allocations: 16.45 kB / 1.133 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.8053, allocations: 16.38 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.8055, allocations: 142.5 kB / 1.134 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8055, allocations: 3.797 kB / 1.134 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.8056, allocations: 7.938 kB / 1.134 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.8056, allocations: 4 kB / 1.134 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.8057, allocations: 46.83 kB / 1.134 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.806, allocations: 334.8 kB / 1.134 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.8062, allocations: 124.7 kB / 1.134 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.8063, allocations: 56.41 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.8063, allocations: 384 / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.8067, allocations: 223.3 kB / 1.134 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.8067, allocations: 0 / 1.134 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0004982/0.8072, allocations: 274.5 kB / 1.135 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.8073, allocations: 60.72 kB / 1.135 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.8075, allocations: 288.6 kB / 1.135 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.8076, allocations: 38.97 kB / 1.135 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.8076, allocations: 90.31 kB / 1.135 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.8077, allocations: 47.77 kB / 1.135 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.8077, allocations: 8.703 kB / 1.135 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.8078, allocations: 319.2 kB / 1.135 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.808, allocations: 105.2 kB / 1.136 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.8083, allocations: 157.7 kB / 1.136 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.8086, allocations: 237.9 kB / 1.136 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8086, allocations: 0 / 1.136 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006575/0.8093, allocations: 426.5 kB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.8093, allocations: 73.22 kB / 1.136 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.8093, allocations: 4 kB / 1.136 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.8094, allocations: 4.938 kB / 1.136 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.8095, allocations: 38.78 kB / 1.136 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.8095, allocations: 4.797 kB / 1.136 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.8099, allocations: 43.36 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.81, allocations: 57.67 kB / 1.137 GB, free: 26.14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.000153/0.8101, allocations: 173.5 kB / 1.137 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.8102, allocations: 25.88 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.8102, allocations: 34.06 kB / 1.137 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.8102, allocations: 8.641 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8102, allocations: 0 / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8103, allocations: 1.781 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.8109, allocations: 0.5556 MB / 1.137 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8109, allocations: 3.938 kB / 1.137 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.811, allocations: 10.77 kB / 1.137 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.811, allocations: 0 / 1.137 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.811, allocations: 13.48 kB / 1.137 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.811, allocations: 7.938 kB / 1.137 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.811, allocations: 0.8125 kB / 1.137 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.8114, allocations: 316.2 kB / 1.138 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.8115, allocations: 160.2 kB / 1.138 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.8116, allocations: 10.11 kB / 1.138 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.8117, allocations: 10.34 kB / 1.138 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.8118, allocations: 20.58 kB / 1.138 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.8119, allocations: 32.97 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000157/0.812, allocations: 204.2 kB / 1.138 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.812, allocations: 0 / 1.138 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000298/0.8123, allocations: 57.83 kB / 1.138 GB, free: 24.61 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001259/0.8125, allocations: 118.5 kB / 1.138 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.813, allocations: 354.1 kB / 1.139 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.813, allocations: 4.125 kB / 1.139 GB, free: 24.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.8131, allocations: 77.16 kB / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.8135, allocations: 28.11 kB / 1.139 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.8141, allocations: 446.8 kB / 1.139 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.8142, allocations: 0.7435 MB / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.8144, allocations: 38.25 kB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.8145, allocations: 36.27 kB / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.8145, allocations: 0 / 1.14 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of Templates: time 0.008118/0.8226, allocations: 4.334 MB / 1.144 GB, free: 20.34 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)