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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 161.7 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002424/0.002424, allocations: 232.8 kB / 259.4 MB, free: 464 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.034/1.034, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.6467 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.157e-05, allocations: 6.219 kB / 0.6467 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.00239/0.002411, allocations: 1.524 MB / 0.6482 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.00367, allocations: 0.5405 MB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.003709, allocations: 4 kB / 0.6488 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.671e-05/0.003785, allocations: 7.875 kB / 0.6488 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.003887, allocations: 31.8 kB / 0.6488 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.004615, allocations: 322.5 kB / 0.6491 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.005154, allocations: 491.4 kB / 0.6496 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.005188, allocations: 4 kB / 0.6496 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.005652, allocations: 351.6 kB / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.005918, allocations: 123.8 kB / 0.65 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.394e-05/0.006012, allocations: 28 kB / 0.6501 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.006105, allocations: 24 kB / 0.6501 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.006236, allocations: 123.6 kB / 0.6502 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.006413, allocations: 135.7 kB / 0.6503 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.006915, allocations: 462.7 kB / 0.6508 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.006917, allocations: 0 / 0.6508 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006918, allocations: 0 / 0.6508 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.006926, allocations: 0 / 0.6508 GB, free: 0.9219 MB / 0.5606 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.001174/0.008099, allocations: 0.795 MB / 0.6516 GB, free: 56 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.008131, allocations: 13.34 kB / 0.6516 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2417/0.2498, allocations: 48.78 kB / 0.6516 GB, free: 57.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.2502, allocations: 257.1 kB / 0.6519 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.2503, allocations: 17.83 kB / 0.6519 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.376e-05/0.2503, allocations: 29.14 kB / 0.6519 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.2513, allocations: 226.7 kB / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2513, allocations: 192 / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.2514, allocations: 8.438 kB / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2514, allocations: 1.688 kB / 0.6521 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.2522, allocations: 116 kB / 0.6522 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.2525, allocations: 282.9 kB / 0.6525 GB, free: 56.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2535, allocations: 186.7 kB / 0.6527 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.2543, allocations: 118.7 kB / 0.6528 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.2543, allocations: 4.25 kB / 0.6528 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009065/0.2552, allocations: 238.4 kB / 0.653 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.2552, allocations: 0 / 0.653 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002506/0.2577, allocations: 0.5233 MB / 0.6535 GB, free: 56.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.2577, allocations: 57.08 kB / 0.6536 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.258, allocations: 414.9 kB / 0.654 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.2581, allocations: 45.45 kB / 0.654 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.2581, allocations: 94.72 kB / 0.6541 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.2582, allocations: 39.25 kB / 0.6542 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.2583, allocations: 132.7 kB / 0.6543 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.2583, allocations: 326.3 kB / 0.6546 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.2586, allocations: 192.4 kB / 0.6548 GB, free: 55.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.2589, allocations: 254 kB / 0.655 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.2591, allocations: 267.3 kB / 0.6553 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2591, allocations: 3.688 kB / 0.6553 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006875/0.2598, allocations: 0.5576 MB / 0.6558 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.2599, allocations: 85.83 kB / 0.6559 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2599, allocations: 4.5 kB / 0.6559 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2599, allocations: 3.188 kB / 0.6559 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.26, allocations: 19.73 kB / 0.6559 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2601, allocations: 7.219 kB / 0.6559 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.2605, allocations: 72.14 kB / 0.656 GB, free: 55.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.2606, allocations: 62.81 kB / 0.6561 GB, free: 55.23 MB / 0.5606 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.2608, allocations: 194.2 kB / 0.6563 GB, free: 55.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.2608, allocations: 43.94 kB / 0.6563 GB, free: 55.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.2609, allocations: 39.92 kB / 0.6563 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2609, allocations: 3.281 kB / 0.6563 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2609, allocations: 4.562 kB / 0.6563 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2609, allocations: 3.75 kB / 0.6564 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.2629, allocations: 0.7056 MB / 0.657 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2629, allocations: 0 / 0.657 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.2629, allocations: 10.78 kB / 0.657 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2629, allocations: 3.375 kB / 0.6571 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.2629, allocations: 24.36 kB / 0.6571 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.263, allocations: 6.438 kB / 0.6571 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.263, allocations: 0 / 0.6571 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.2647, allocations: 0.5017 MB / 0.6576 GB, free: 54.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.2649, allocations: 126.6 kB / 0.6577 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.2649, allocations: 14.34 kB / 0.6577 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.2654, allocations: 39.89 kB / 0.6577 GB, free: 54.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.2655, allocations: 9.922 kB / 0.6578 GB, free: 54.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.2655, allocations: 61.75 kB / 0.6578 GB, free: 54.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002091/0.2657, allocations: 296.2 kB / 0.6581 GB, free: 54.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2657, allocations: 3.219 kB / 0.6581 GB, free: 54.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003353/0.2661, allocations: 65.72 kB / 0.6582 GB, free: 54.31 MB / 0.5606 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001347/0.2662, allocations: 120.6 kB / 0.6583 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.2674, allocations: 496.4 kB / 0.6587 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2674, allocations: 0 / 0.6587 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.2681, allocations: 122.7 kB / 0.6589 GB, free: 53.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.2685, allocations: 30.69 kB / 0.6589 GB, free: 53.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2698, allocations: 0.5647 MB / 0.6594 GB, free: 53.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.27, allocations: 169.7 kB / 0.6596 GB, free: 53.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.822e-05/0.27, allocations: 13.47 kB / 0.6596 GB, free: 53.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.27, allocations: 18.02 kB / 0.6596 GB, free: 53.54 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.27, allocations: 0.6562 kB / 0.6596 GB, free: 53.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.00884/0.2789, allocations: 5.879 MB / 0.6654 GB, free: 52.43 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.660207562148571] Failed to read output from testmodel.py, exit status != 0: 0.2866816446185112 0.298845737 0.289503825 Calling exit ...