Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.738/0.738, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 181.5 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009221/0.0009222, allocations: 98.67 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001916/0.001916, allocations: 264.7 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.109e-05/5.123e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.467, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.5928, allocations: 110.4 MB / 0.8721 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5931, allocations: 71.83 kB / 0.8722 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.6061, allocations: 4.492 MB / 0.8766 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6061, allocations: 0 / 0.8766 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.6061, allocations: 4 kB / 0.8766 GB, free: 9.555 MB / 0.5417 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.0008093/0.6069, allocations: 0.575 MB / 0.8771 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.607, allocations: 12.03 kB / 0.8772 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.6071, allocations: 31.62 kB / 0.8772 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.6074, allocations: 250.6 kB / 0.8774 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.6075, allocations: 15.94 kB / 0.8774 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.6075, allocations: 19.94 kB / 0.8775 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.6078, allocations: 141.5 kB / 0.8776 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.6078, allocations: 0 / 0.8776 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.6079, allocations: 4 kB / 0.8776 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6079, allocations: 0 / 0.8776 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.608, allocations: 47.98 kB / 0.8776 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.6084, allocations: 329.2 kB / 0.878 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.6086, allocations: 134.6 kB / 0.8781 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.6087, allocations: 57.17 kB / 0.8781 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.6087, allocations: 4 kB / 0.8781 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.6091, allocations: 219.6 kB / 0.8783 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.6091, allocations: 0 / 0.8783 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.000439/0.6096, allocations: 214.2 kB / 0.8786 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.6096, allocations: 75.28 kB / 0.8786 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.6099, allocations: 251.4 kB / 0.8789 GB, free: 7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.6099, allocations: 37.64 kB / 0.8789 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.61, allocations: 97.12 kB / 0.879 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.6101, allocations: 35.52 kB / 0.879 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.6101, allocations: 8 kB / 0.879 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.6102, allocations: 322.8 kB / 0.8793 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.6104, allocations: 100.2 kB / 0.8794 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.6107, allocations: 154.4 kB / 0.8796 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.6109, allocations: 146.7 kB / 0.8797 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6109, allocations: 8 kB / 0.8797 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006615/0.6115, allocations: 420.5 kB / 0.8801 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/0.6116, allocations: 71.39 kB / 0.8802 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6116, allocations: 4 kB / 0.8802 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6117, allocations: 4 kB / 0.8802 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.6118, allocations: 31.91 kB / 0.8802 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6119, allocations: 0 / 0.8802 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.6122, allocations: 52.06 kB / 0.8803 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/0.6123, allocations: 51.98 kB / 0.8803 GB, free: 5.406 MB / 0.5417 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 () * 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.0001153/0.6124, allocations: 131.1 kB / 0.8805 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.6125, allocations: 27.67 kB / 0.8805 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.6125, allocations: 34.03 kB / 0.8805 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6126, allocations: 4 kB / 0.8805 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6126, allocations: 4 kB / 0.8805 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6126, allocations: 0 / 0.8805 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.6133, allocations: 0.5527 MB / 0.8811 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6133, allocations: 0 / 0.8811 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.6134, allocations: 11.98 kB / 0.8811 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6134, allocations: 0 / 0.8811 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.6134, allocations: 19.98 kB / 0.8811 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6134, allocations: 0 / 0.8811 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6135, allocations: 7.938 kB / 0.8811 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.6138, allocations: 313.1 kB / 0.8814 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.614, allocations: 156.7 kB / 0.8816 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.6141, allocations: 11.98 kB / 0.8816 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.6143, allocations: 8 kB / 0.8816 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.6143, allocations: 15.97 kB / 0.8816 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.6144, allocations: 31.98 kB / 0.8816 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000172/0.6146, allocations: 211.1 kB / 0.8818 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6146, allocations: 0 / 0.8818 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002976/0.6149, allocations: 52 kB / 0.8819 GB, free: 3.734 MB / 0.5417 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) * 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.0001571/0.615, allocations: 120.5 kB / 0.882 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.6156, allocations: 342.8 kB / 0.8823 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6156, allocations: 0 / 0.8823 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.6157, allocations: 77.31 kB / 0.8824 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.616, allocations: 24.88 kB / 0.8824 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.6165, allocations: 282 kB / 0.8827 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.6168, allocations: 0.7477 MB / 0.8834 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.617, allocations: 33.2 kB / 0.8834 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.6171, allocations: 39.42 kB / 0.8835 GB, free: 2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6171, allocations: 0 / 0.8835 GB, free: 2 MB / 0.5417 GB Notification: Performance of Templates: time 0.007157/0.6243, allocations: 4.306 MB / 0.8877 GB, free: 13.7 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)