Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7104/0.7104, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001072, allocations: 184.8 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008652/0.0008652, allocations: 90.16 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.934e-05, allocations: 0 / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1777, allocations: 76.75 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6404/0.8181, allocations: 104.5 MB / 0.7302 GB, free: 8.859 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/0.8186, allocations: 71.89 kB / 0.7303 GB, free: 8.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.8343, allocations: 4.682 MB / 0.7348 GB, free: 4.766 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.8344, allocations: 0 / 0.7348 GB, free: 4.766 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.8344, allocations: 4 kB / 0.7348 GB, free: 4.762 MB / 490.7 MB 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.0009401/0.8354, allocations: 0.5358 MB / 0.7354 GB, free: 4.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.8354, allocations: 12.03 kB / 0.7354 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.8355, allocations: 31.67 kB / 0.7354 GB, free: 4.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.8358, allocations: 199.9 kB / 0.7356 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.8358, allocations: 11.81 kB / 0.7356 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.8359, allocations: 12 kB / 0.7356 GB, free: 3.875 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.8362, allocations: 141.6 kB / 0.7358 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8362, allocations: 0 / 0.7358 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.8363, allocations: 3.984 kB / 0.7358 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.8363, allocations: 4 kB / 0.7358 GB, free: 3.746 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.8364, allocations: 46.48 kB / 0.7358 GB, free: 3.715 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.8369, allocations: 311.9 kB / 0.7361 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.8371, allocations: 117.2 kB / 0.7362 GB, free: 3.312 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.8373, allocations: 59.41 kB / 0.7363 GB, free: 3.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.8373, allocations: 4 kB / 0.7363 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.8377, allocations: 200.4 kB / 0.7365 GB, free: 3.082 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 5.07e-06/0.8377, allocations: 0 / 0.7365 GB, free: 3.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004797/0.8382, allocations: 216.2 kB / 0.7367 GB, free: 2.898 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.8383, allocations: 55.41 kB / 0.7367 GB, free: 2.832 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.8385, allocations: 196 kB / 0.7369 GB, free: 2.664 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.8386, allocations: 44.69 kB / 0.737 GB, free: 2.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.8387, allocations: 88.61 kB / 0.737 GB, free: 2.535 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.8388, allocations: 54.12 kB / 0.7371 GB, free: 2.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.8388, allocations: 7.5 kB / 0.7371 GB, free: 2.484 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.839, allocations: 322.7 kB / 0.7374 GB, free: 2.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.8392, allocations: 100.1 kB / 0.7375 GB, free: 2.098 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.8395, allocations: 138.5 kB / 0.7376 GB, free: 1.973 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.8397, allocations: 148.4 kB / 0.7378 GB, free: 1.836 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8398, allocations: 0 / 0.7378 GB, free: 1.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007504/0.8405, allocations: 408.2 kB / 0.7382 GB, free: 1.492 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/0.8406, allocations: 70.77 kB / 0.7382 GB, free: 1.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.8406, allocations: 4 kB / 0.7382 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8406, allocations: 4 kB / 0.7382 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.8408, allocations: 27.34 kB / 0.7383 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.8409, allocations: 3.938 kB / 0.7383 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.8413, allocations: 51.19 kB / 0.7383 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.8414, allocations: 43.36 kB / 0.7384 GB, free: 1.293 MB / 490.7 MB 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.0001622/0.8415, allocations: 137.2 kB / 0.7385 GB, free: 1.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.8416, allocations: 15.81 kB / 0.7385 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.8417, allocations: 21.84 kB / 0.7385 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8417, allocations: 0 / 0.7385 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.8417, allocations: 3.984 kB / 0.7385 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.8417, allocations: 3.984 kB / 0.7385 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008237/0.8425, allocations: 0.5312 MB / 0.7391 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8425, allocations: 8 kB / 0.7391 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.8426, allocations: 7.938 kB / 0.7391 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8426, allocations: 0 / 0.7391 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.8426, allocations: 19.34 kB / 0.7391 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8426, allocations: 0 / 0.7391 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8427, allocations: 0 / 0.7391 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.843, allocations: 308.9 kB / 0.7394 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.8432, allocations: 135.2 kB / 0.7395 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.8433, allocations: 15.36 kB / 0.7395 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.8434, allocations: 12 kB / 0.7395 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.8435, allocations: 18.84 kB / 0.7396 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.8436, allocations: 19.98 kB / 0.7396 GB, free: 92 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.8437, allocations: 165.2 kB / 0.7397 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8437, allocations: 0 / 0.7397 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000316/0.844, allocations: 55.25 kB / 0.7398 GB, free: 15.9 MB / 0.4948 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.0001593/0.8442, allocations: 121.4 kB / 0.7399 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.8448, allocations: 339.9 kB / 0.7402 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8448, allocations: 0 / 0.7402 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.8449, allocations: 67.67 kB / 0.7403 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.8452, allocations: 20.09 kB / 0.7403 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.8457, allocations: 239 kB / 0.7405 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.8462, allocations: 0.7235 MB / 0.7412 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.8463, allocations: 33.2 kB / 0.7413 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.8464, allocations: 35.23 kB / 0.7413 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.8464, allocations: 0 / 0.7413 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.007357/0.8538, allocations: 3.957 MB / 0.7452 GB, free: 10.45 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)