Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001378/0.001378, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001489/0.001489, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.417/1.417, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.002838/0.002838, allocations: 248.4 kB / 259.4 MB, free: 476 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.044/1.044, allocations: 138.4 MB / 454.3 MB, free: 2.016 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 0.6468 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.69e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002591/0.002618, allocations: 1.542 MB / 0.6483 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.004096, allocations: 0.5301 MB / 0.6488 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.00414, allocations: 3.938 kB / 0.6488 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.416e-05/0.004224, allocations: 7.922 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.004339, allocations: 27.8 kB / 0.6488 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008226/0.005162, allocations: 319.2 kB / 0.6491 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.005711, allocations: 487.4 kB / 0.6496 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.005748, allocations: 4 kB / 0.6496 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004996/0.006247, allocations: 355.6 kB / 0.6499 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.006531, allocations: 127.7 kB / 0.6501 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.006638, allocations: 28 kB / 0.6501 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.006736, allocations: 28 kB / 0.6501 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.006892, allocations: 119.7 kB / 0.6502 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.00708, allocations: 135.7 kB / 0.6503 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.007618, allocations: 462.7 kB / 0.6508 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007621, allocations: 0 / 0.6508 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007622, allocations: 0 / 0.6508 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.007627, allocations: 0 / 0.6508 GB, free: 0.9336 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.001317/0.008944, allocations: 0.7911 MB / 0.6516 GB, free: 72 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.008978, allocations: 9.344 kB / 0.6516 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.009099, allocations: 52.7 kB / 0.6516 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2418/0.2509, allocations: 258.5 kB / 0.6519 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.251, allocations: 22.95 kB / 0.6519 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/0.2511, allocations: 28.09 kB / 0.6519 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2521, allocations: 225.3 kB / 0.6521 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2521, allocations: 192 / 0.6521 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.2521, allocations: 5.031 kB / 0.6521 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2521, allocations: 1.125 kB / 0.6521 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007545/0.2529, allocations: 116.2 kB / 0.6522 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.2532, allocations: 288.3 kB / 0.6525 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.2542, allocations: 186.7 kB / 0.6527 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/0.2549, allocations: 114 kB / 0.6528 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.255, allocations: 6.031 kB / 0.6528 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009114/0.2559, allocations: 240.3 kB / 0.653 GB, free: 56.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.2559, allocations: 0 / 0.653 GB, free: 56.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002495/0.2584, allocations: 0.5217 MB / 0.6536 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2584, allocations: 63.75 kB / 0.6536 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.2587, allocations: 412 kB / 0.654 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.2588, allocations: 41.52 kB / 0.654 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.2588, allocations: 95.33 kB / 0.6541 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.2588, allocations: 42.06 kB / 0.6542 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.259, allocations: 131.3 kB / 0.6543 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.259, allocations: 326.8 kB / 0.6546 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.2593, allocations: 191.9 kB / 0.6548 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.2595, allocations: 256.7 kB / 0.655 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.2598, allocations: 274.3 kB / 0.6553 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2598, allocations: 0 / 0.6553 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006761/0.2605, allocations: 0.5509 MB / 0.6558 GB, free: 55.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.2606, allocations: 82.48 kB / 0.6559 GB, free: 55.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2606, allocations: 2.906 kB / 0.6559 GB, free: 55.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.2606, allocations: 3.312 kB / 0.6559 GB, free: 55.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2607, allocations: 27.16 kB / 0.656 GB, free: 55.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2608, allocations: 3.75 kB / 0.656 GB, free: 55.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.2612, allocations: 70.2 kB / 0.656 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.2613, allocations: 62 kB / 0.6561 GB, free: 55.09 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.0001632/0.2614, allocations: 203.1 kB / 0.6563 GB, free: 54.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.2615, allocations: 40.47 kB / 0.6563 GB, free: 54.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.2615, allocations: 41.95 kB / 0.6564 GB, free: 54.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2615, allocations: 3.812 kB / 0.6564 GB, free: 54.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2616, allocations: 3.844 kB / 0.6564 GB, free: 54.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2616, allocations: 0 / 0.6564 GB, free: 54.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.2635, allocations: 0.7121 MB / 0.6571 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2635, allocations: 2.5 kB / 0.6571 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.2636, allocations: 6.781 kB / 0.6571 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2636, allocations: 0 / 0.6571 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.2636, allocations: 23.95 kB / 0.6571 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2636, allocations: 0 / 0.6571 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2636, allocations: 7.188 kB / 0.6571 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.2653, allocations: 0.5027 MB / 0.6576 GB, free: 54.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.2655, allocations: 130 kB / 0.6577 GB, free: 54.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.2655, allocations: 14.55 kB / 0.6577 GB, free: 54.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.266, allocations: 37.38 kB / 0.6578 GB, free: 54.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.266, allocations: 17.94 kB / 0.6578 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.2661, allocations: 57.97 kB / 0.6578 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001952/0.2663, allocations: 292.2 kB / 0.6581 GB, free: 54.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2663, allocations: 0 / 0.6581 GB, free: 54.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003127/0.2666, allocations: 65.5 kB / 0.6582 GB, free: 54.16 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.0001154/0.2667, allocations: 123 kB / 0.6583 GB, free: 54.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.2679, allocations: 492.3 kB / 0.6588 GB, free: 53.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2679, allocations: 0 / 0.6588 GB, free: 53.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007709/0.2686, allocations: 129.2 kB / 0.6589 GB, free: 53.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.269, allocations: 29.67 kB / 0.6589 GB, free: 53.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2702, allocations: 0.5754 MB / 0.6595 GB, free: 53.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2703, allocations: 166.6 kB / 0.6596 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.727e-05/0.2704, allocations: 14.08 kB / 0.6596 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.2704, allocations: 20.78 kB / 0.6597 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2704, allocations: 0 / 0.6597 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.0078/0.2782, allocations: 5.883 MB / 0.6654 GB, free: 52.29 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.674328152090311] Failed to read output from testmodel.py, exit status != 0: 0.28585631027817726 0.296242856 0.28610844700000004 Calling exit ...