Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 105.3 kB / 16.4 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 196 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7304/0.7304, allocations: 122.9 MB / 414.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 67.89 kB / 0.5679 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 77.94 MB / 0.644 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002593/0.1366, allocations: 1.462 MB / 0.6455 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1378, allocations: 0.6939 MB / 0.6461 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.1378, allocations: 0 / 0.6461 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.302e-05/0.1379, allocations: 11.88 kB / 0.6461 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.138, allocations: 11.86 kB / 0.6462 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009452/0.1389, allocations: 343.7 kB / 0.6465 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1392, allocations: 167.7 kB / 0.6466 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.1392, allocations: 19.92 kB / 0.6467 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.517e-05/0.1393, allocations: 63.89 kB / 0.6467 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.1394, allocations: 47.77 kB / 0.6468 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.1394, allocations: 12 kB / 0.6468 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.1398, allocations: 255.7 kB / 0.647 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.1399, allocations: 39.89 kB / 0.6471 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.14, allocations: 59.72 kB / 0.6471 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.1404, allocations: 307.3 kB / 0.6474 GB, free: 6.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1404, allocations: 0 / 0.6474 GB, free: 6.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1404, allocations: 0 / 0.6474 GB, free: 6.105 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1404, allocations: 0 / 0.6474 GB, free: 6.105 MB / 494.1 MB 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.0006171/0.141, allocations: 486.4 kB / 0.6479 GB, free: 5.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1411, allocations: 12.62 kB / 0.6479 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.1411, allocations: 42.73 kB / 0.6479 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.1412, allocations: 12.84 kB / 0.6479 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1414, allocations: 208.2 kB / 0.6481 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1414, allocations: 12.31 kB / 0.6482 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1414, allocations: 16.36 kB / 0.6482 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1416, allocations: 100.7 kB / 0.6483 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.1416, allocations: 7.875 kB / 0.6483 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1417, allocations: 8 kB / 0.6483 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1417, allocations: 0 / 0.6483 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.911e-05/0.1418, allocations: 47.91 kB / 0.6483 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.142, allocations: 247.4 kB / 0.6486 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1422, allocations: 107.9 kB / 0.6487 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1423, allocations: 74.66 kB / 0.6487 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.1423, allocations: 0 / 0.6487 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1426, allocations: 143.2 kB / 0.6489 GB, free: 4.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.1426, allocations: 4 kB / 0.6489 GB, free: 4.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004051/0.143, allocations: 218.2 kB / 0.6491 GB, free: 4.164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.1431, allocations: 118.7 kB / 0.6492 GB, free: 4.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1432, allocations: 143.5 kB / 0.6493 GB, free: 3.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.1432, allocations: 33.7 kB / 0.6494 GB, free: 3.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.1433, allocations: 100.7 kB / 0.6495 GB, free: 3.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.1434, allocations: 55.62 kB / 0.6495 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.1435, allocations: 57.69 kB / 0.6496 GB, free: 3.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1436, allocations: 330.8 kB / 0.6499 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.1437, allocations: 56.25 kB / 0.6499 GB, free: 3.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.1439, allocations: 168.5 kB / 0.6501 GB, free: 3.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.1441, allocations: 142.5 kB / 0.6502 GB, free: 2.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1441, allocations: 0 / 0.6502 GB, free: 2.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003058/0.1444, allocations: 209.2 kB / 0.6504 GB, free: 2.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1445, allocations: 4 kB / 0.6504 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.1445, allocations: 4 kB / 0.6504 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1445, allocations: 4 kB / 0.6504 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.1446, allocations: 11.94 kB / 0.6505 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1446, allocations: 7.938 kB / 0.6505 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.1449, allocations: 58.78 kB / 0.6505 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1449, allocations: 8 kB / 0.6505 GB, free: 2.566 MB / 494.1 MB 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 0.0001207/0.145, allocations: 136.2 kB / 0.6507 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.145, allocations: 15.91 kB / 0.6507 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.1451, allocations: 16.7 kB / 0.6507 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1451, allocations: 4 kB / 0.6507 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1451, allocations: 3.938 kB / 0.6507 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1451, allocations: 4 kB / 0.6507 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1453, allocations: 205.5 kB / 0.6509 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1453, allocations: 0 / 0.6509 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.1453, allocations: 12 kB / 0.6509 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1453, allocations: 0 / 0.6509 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1454, allocations: 8 kB / 0.6509 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1454, allocations: 0 / 0.6509 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1454, allocations: 3.938 kB / 0.6509 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1457, allocations: 224.6 kB / 0.6511 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.1457, allocations: 92.95 kB / 0.6512 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1457, allocations: 4 kB / 0.6512 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.167e-05/0.1458, allocations: 15.92 kB / 0.6512 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.1459, allocations: 7.984 kB / 0.6513 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.1459, allocations: 4 kB / 0.6513 GB, free: 1.719 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.085e-05/0.1459, allocations: 105.1 kB / 0.6514 GB, free: 1.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.146, allocations: 4 kB / 0.6514 GB, free: 1.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.1463, allocations: 103.8 kB / 0.6515 GB, free: 1.512 MB / 494.1 MB 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.0007164/0.147, allocations: 0.8366 MB / 0.6523 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1474, allocations: 225 kB / 0.6525 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1474, allocations: 0 / 0.6525 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.1475, allocations: 55.92 kB / 0.6525 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1477, allocations: 15.92 kB / 0.6526 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1496, allocations: 1.817 MB / 0.6543 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1499, allocations: 0.7123 MB / 0.655 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.097e-05/0.1499, allocations: 9.172 kB / 0.655 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.15, allocations: 36.92 kB / 0.6551 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.15, allocations: 0 / 0.6551 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1716, allocations: 4.607 MB / 0.6596 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.736, allocations: 18.11 kB / 0.6596 GB, free: 9.164 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)