Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.0008048/0.0008048, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007755/0.0007755, allocations: 177.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8682/0.8682, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 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.001878/0.001878, allocations: 230.1 kB / 260.2 MB, free: 13.04 MB / 250.7 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 0.7109/0.7109, allocations: 138.4 MB / 455.1 MB, free: 30.12 MB / 410.7 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.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6475 GB, free: 1.48 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.152e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.263/0.263, allocations: 1.473 MB / 0.6489 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008436/0.2639, allocations: 0.6463 MB / 0.6495 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.2639, allocations: 0.7188 kB / 0.6495 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.831e-05/0.264, allocations: 11.12 kB / 0.6496 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.74e-05/0.264, allocations: 15.53 kB / 0.6496 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.2647, allocations: 364.1 kB / 0.6499 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.2649, allocations: 172.1 kB / 0.6501 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.2649, allocations: 5.812 kB / 0.6501 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.265, allocations: 95.02 kB / 0.6502 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.2651, allocations: 43.25 kB / 0.6502 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.2651, allocations: 12.78 kB / 0.6502 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.2654, allocations: 277.1 kB / 0.6505 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.2654, allocations: 40.53 kB / 0.6505 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.2655, allocations: 40.55 kB / 0.6506 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.2658, allocations: 367.5 kB / 0.6509 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2658, allocations: 1.844 kB / 0.6509 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2659, allocations: 0.5938 kB / 0.6509 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2659, allocations: 0 / 0.6509 GB, free: 56.12 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000384/0.2662, allocations: 405.2 kB / 0.6513 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2663, allocations: 10.5 kB / 0.6513 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.2663, allocations: 12.83 kB / 0.6513 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2664, allocations: 153.1 kB / 0.6515 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2665, allocations: 8.219 kB / 0.6515 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.2665, allocations: 8.5 kB / 0.6515 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.2666, allocations: 103.2 kB / 0.6516 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2666, allocations: 192 / 0.6516 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2666, allocations: 7.438 kB / 0.6516 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2666, allocations: 2.5 kB / 0.6516 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.2667, allocations: 47.45 kB / 0.6516 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.2668, allocations: 174.3 kB / 0.6518 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.2669, allocations: 101.8 kB / 0.6519 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.267, allocations: 67.36 kB / 0.652 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.267, allocations: 0 / 0.652 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.2672, allocations: 140.4 kB / 0.6521 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.2672, allocations: 5.438 kB / 0.6521 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21): time 0.0002827/0.2675, allocations: 215.8 kB / 0.6523 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2675, allocations: 118.7 kB / 0.6524 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.2676, allocations: 140.4 kB / 0.6526 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2676, allocations: 36.14 kB / 0.6526 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.2676, allocations: 99.06 kB / 0.6527 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.2676, allocations: 55.19 kB / 0.6527 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.2677, allocations: 59.73 kB / 0.6528 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.2677, allocations: 334 kB / 0.6531 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.2678, allocations: 52.42 kB / 0.6532 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.2679, allocations: 465.4 kB / 0.6536 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2681, allocations: 132.7 kB / 0.6537 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2681, allocations: 3.219 kB / 0.6537 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001806/0.2683, allocations: 201.6 kB / 0.6539 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2683, allocations: 4.844 kB / 0.6539 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.2683, allocations: 6.578 kB / 0.6539 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2683, allocations: 5.125 kB / 0.654 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.2684, allocations: 14.83 kB / 0.654 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2684, allocations: 1.938 kB / 0.654 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.2685, allocations: 52.69 kB / 0.654 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.2685, allocations: 5.781 kB / 0.654 GB, free: 53.78 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 6.927e-05/0.2686, allocations: 138.2 kB / 0.6542 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.2686, allocations: 18.12 kB / 0.6542 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.2686, allocations: 15.78 kB / 0.6542 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2686, allocations: 7.281 kB / 0.6542 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2686, allocations: 0 / 0.6542 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2686, allocations: 5.344 kB / 0.6542 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.802e-05/0.2687, allocations: 135.9 kB / 0.6543 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2687, allocations: 1.75 kB / 0.6543 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.2687, allocations: 18.7 kB / 0.6544 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2687, allocations: 0 / 0.6544 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2687, allocations: 3.469 kB / 0.6544 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2687, allocations: 11.94 kB / 0.6544 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2687, allocations: 3.938 kB / 0.6544 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.2689, allocations: 203.5 kB / 0.6546 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.2689, allocations: 19.92 kB / 0.6546 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2689, allocations: 1.969 kB / 0.6546 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.2689, allocations: 13.58 kB / 0.6546 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.269, allocations: 10.34 kB / 0.6546 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.269, allocations: 6.484 kB / 0.6546 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.269, allocations: 109.9 kB / 0.6547 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.269, allocations: 0 / 0.6547 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002145/0.2692, allocations: 101.3 kB / 0.6548 GB, free: 53.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000212/0.2694, allocations: 229 kB / 0.655 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.2696, allocations: 205.4 kB / 0.6552 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2696, allocations: 0.8125 kB / 0.6552 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.159e-05/0.2697, allocations: 50.5 kB / 0.6553 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.2698, allocations: 11.48 kB / 0.6553 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.2701, allocations: 272.1 kB / 0.6555 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.512e-05/0.2702, allocations: 98.08 kB / 0.6556 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.2702, allocations: 15.59 kB / 0.6557 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.2702, allocations: 0 / 0.6557 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of Templates: time 0.003597/0.2738, allocations: 3.179 MB / 0.6588 GB, free: 52.39 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.489883610978723] Failed to read output from testmodel.py, exit status != 0: 0.27880726382136345 0.285530359 0.018329089 Calling exit ...