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.0006999/0.0006999, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007274/0.0007274, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8786/0.8786, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001281/0.001281, allocations: 234 kB / 259.4 MB, free: 13.02 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.6636/0.6636, allocations: 138.4 MB / 454.3 MB, free: 1.617 MB / 362.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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6462 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.467e-05, allocations: 11.14 kB / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001463/0.001478, allocations: 1.481 MB / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.002125, allocations: 0.6469 MB / 0.6483 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.00216, allocations: 0 / 0.6483 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.775e-05/0.002228, allocations: 5.438 kB / 0.6483 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.002298, allocations: 22.77 kB / 0.6484 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.002922, allocations: 352 kB / 0.6487 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.003083, allocations: 174.9 kB / 0.6489 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.003122, allocations: 2.969 kB / 0.6489 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.003201, allocations: 96.56 kB / 0.649 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.003269, allocations: 45.03 kB / 0.649 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.003293, allocations: 15.59 kB / 0.649 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.003549, allocations: 282.1 kB / 0.6493 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.003617, allocations: 33.59 kB / 0.6493 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.00367, allocations: 48.33 kB / 0.6494 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.003973, allocations: 357 kB / 0.6497 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003975, allocations: 0 / 0.6497 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003976, allocations: 0 / 0.6497 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.00398, allocations: 0 / 0.6497 GB, free: 26.61 MB / 0.5105 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.0003978/0.004378, allocations: 407 kB / 0.6501 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.004412, allocations: 9.531 kB / 0.6501 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.347e-05/0.004436, allocations: 41.03 kB / 0.6501 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.004472, allocations: 11.67 kB / 0.6502 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.004596, allocations: 154.8 kB / 0.6503 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004608, allocations: 12.78 kB / 0.6503 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.004626, allocations: 9 kB / 0.6503 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.004763, allocations: 97.11 kB / 0.6504 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004771, allocations: 1.531 kB / 0.6504 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.004779, allocations: 384 / 0.6504 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004784, allocations: 5.5 kB / 0.6504 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.859e-05/0.004852, allocations: 49.81 kB / 0.6505 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.004991, allocations: 200 kB / 0.6507 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.955e-05/0.00508, allocations: 104.1 kB / 0.6508 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.005141, allocations: 67.64 kB / 0.6508 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.00515, allocations: 2.719 kB / 0.6508 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.0053, allocations: 145 kB / 0.651 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 8.52e-07/0.0053, allocations: 0 / 0.651 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0002824/0.005583, allocations: 214.1 kB / 0.6512 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.005616, allocations: 123.2 kB / 0.6513 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.005678, allocations: 134.3 kB / 0.6514 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.005696, allocations: 39.55 kB / 0.6515 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.005725, allocations: 100.5 kB / 0.6515 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.005761, allocations: 52.44 kB / 0.6516 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.005816, allocations: 63.44 kB / 0.6517 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.279e-05/0.005849, allocations: 323.5 kB / 0.652 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.00591, allocations: 54.25 kB / 0.652 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.006056, allocations: 467.6 kB / 0.6525 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.006188, allocations: 133.7 kB / 0.6526 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00619, allocations: 0 / 0.6526 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001871/0.006377, allocations: 196.6 kB / 0.6528 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.006389, allocations: 10.16 kB / 0.6528 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.006407, allocations: 7.781 kB / 0.6528 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.006418, allocations: 5.281 kB / 0.6528 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.006483, allocations: 18.7 kB / 0.6528 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006489, allocations: 1.125 kB / 0.6528 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.006607, allocations: 46.78 kB / 0.6529 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.006617, allocations: 9.125 kB / 0.6529 GB, free: 23.77 MB / 0.5105 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.587e-05/0.006683, allocations: 140.1 kB / 0.653 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.006695, allocations: 16.44 kB / 0.653 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.006716, allocations: 19.75 kB / 0.653 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.006719, allocations: 2.75 kB / 0.653 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.006723, allocations: 0.7812 kB / 0.653 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006727, allocations: 1.516 kB / 0.653 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.224e-05/0.006799, allocations: 168.4 kB / 0.6532 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006801, allocations: 5.219 kB / 0.6532 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.006826, allocations: 13.17 kB / 0.6532 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.006829, allocations: 5.125 kB / 0.6532 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.006838, allocations: 10.64 kB / 0.6532 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006839, allocations: 1.688 kB / 0.6532 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00684, allocations: 0 / 0.6532 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.007009, allocations: 220.5 kB / 0.6535 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.00702, allocations: 19.97 kB / 0.6535 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.007035, allocations: 6.578 kB / 0.6535 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.645e-05/0.007061, allocations: 6.594 kB / 0.6535 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.007109, allocations: 12.27 kB / 0.6535 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.007116, allocations: 4.156 kB / 0.6535 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.007154, allocations: 111 kB / 0.6536 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.007154, allocations: 0 / 0.6536 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002306/0.007384, allocations: 101.3 kB / 0.6537 GB, free: 23.11 MB / 0.5105 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.0004196/0.007804, allocations: 0.8656 MB / 0.6545 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.008009, allocations: 209.8 kB / 0.6547 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008011, allocations: 1.312 kB / 0.6547 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/0.008064, allocations: 52.97 kB / 0.6548 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.008184, allocations: 10.88 kB / 0.6548 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.009272, allocations: 1.835 MB / 0.6566 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.009323, allocations: 96.97 kB / 0.6567 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.009357, allocations: 16.34 kB / 0.6567 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.009397, allocations: 32.03 kB / 0.6567 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.009397, allocations: 0 / 0.6567 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.02673, allocations: 5.452 MB / 0.6621 GB, free: 17.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.712, allocations: 5.938 kB / 0.6621 GB, free: 17.13 MB / 0.5105 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.csv --start-time -112320 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 127.872 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.512007891200483] Failed to read output from testmodel.py, exit status != 0: 6.79163324739784 6.799517931 6.794322865 Calling exit ...