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.001533/0.001533, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001293/0.001293, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8385/0.8385, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 65.83 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.149, allocations: 78.87 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002458/0.1515, allocations: 1.474 MB / 0.652 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1526, allocations: 0.6946 MB / 0.6526 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.1526, allocations: 0 / 0.6526 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.723e-05/0.1527, allocations: 7.938 kB / 0.6526 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.1528, allocations: 19.84 kB / 0.6527 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.1537, allocations: 339.3 kB / 0.653 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.154, allocations: 175.6 kB / 0.6532 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.154, allocations: 15.97 kB / 0.6532 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.1541, allocations: 63.91 kB / 0.6532 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.1542, allocations: 55.75 kB / 0.6533 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1542, allocations: 12 kB / 0.6533 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.1546, allocations: 255.7 kB / 0.6535 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.1547, allocations: 31.91 kB / 0.6536 GB, free: 496 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.1548, allocations: 63.72 kB / 0.6536 GB, free: 432 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.1553, allocations: 307.4 kB / 0.6539 GB, free: 124 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1553, allocations: 0 / 0.6539 GB, free: 124 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1553, allocations: 0 / 0.6539 GB, free: 124 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1553, allocations: 3.938 kB / 0.6539 GB, free: 120 kB / 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.0006653/0.156, allocations: 478.5 kB / 0.6544 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.156, allocations: 12.03 kB / 0.6544 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.156, allocations: 34.75 kB / 0.6544 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.1561, allocations: 16.84 kB / 0.6544 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1563, allocations: 210 kB / 0.6546 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1564, allocations: 8.375 kB / 0.6547 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1564, allocations: 8.375 kB / 0.6547 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1566, allocations: 108.7 kB / 0.6548 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1566, allocations: 7.938 kB / 0.6548 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1566, allocations: 4 kB / 0.6548 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1566, allocations: 4 kB / 0.6548 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.1567, allocations: 39.97 kB / 0.6548 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.157, allocations: 243.4 kB / 0.655 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.1572, allocations: 115.9 kB / 0.6552 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1573, allocations: 78.53 kB / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.1573, allocations: 7.984 kB / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.1576, allocations: 137.8 kB / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.1576, allocations: 0 / 0.6554 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004261/0.158, allocations: 217.4 kB / 0.6556 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.1581, allocations: 114.8 kB / 0.6557 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1582, allocations: 147.6 kB / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/0.1583, allocations: 37.7 kB / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.1583, allocations: 96.69 kB / 0.656 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.1584, allocations: 51.64 kB / 0.656 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.1585, allocations: 65.69 kB / 0.6561 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1587, allocations: 322.8 kB / 0.6564 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1588, allocations: 56.11 kB / 0.6564 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.159, allocations: 189 kB / 0.6566 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.1592, allocations: 126.6 kB / 0.6567 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1592, allocations: 0 / 0.6567 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003277/0.1596, allocations: 205.3 kB / 0.6569 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1596, allocations: 7.938 kB / 0.6569 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.1596, allocations: 7.984 kB / 0.6569 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1596, allocations: 0 / 0.6569 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.1597, allocations: 19.94 kB / 0.657 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1597, allocations: 0 / 0.657 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.16, allocations: 57.67 kB / 0.657 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.16, allocations: 7.984 kB / 0.657 GB, free: 12.6 MB / 0.4981 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 0.0001256/0.1601, allocations: 144 kB / 0.6572 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1602, allocations: 7.953 kB / 0.6572 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.1602, allocations: 20.7 kB / 0.6572 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1602, allocations: 4 kB / 0.6572 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1602, allocations: 4 kB / 0.6572 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1602, allocations: 0 / 0.6572 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1604, allocations: 213.4 kB / 0.6574 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1604, allocations: 0 / 0.6574 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.1605, allocations: 8 kB / 0.6574 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1605, allocations: 4 kB / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1605, allocations: 0 / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1605, allocations: 4 kB / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1605, allocations: 4.875 kB / 0.6574 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.1608, allocations: 219.3 kB / 0.6576 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.1609, allocations: 96.95 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1609, allocations: 4 kB / 0.6577 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.161, allocations: 11.92 kB / 0.6577 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.161, allocations: 11.98 kB / 0.6577 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.161, allocations: 4 kB / 0.6578 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.875e-05/0.1611, allocations: 109 kB / 0.6579 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1611, allocations: 0 / 0.6579 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003478/0.1615, allocations: 103.8 kB / 0.658 GB, free: 11.55 MB / 0.4981 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.0008287/0.1623, allocations: 0.857 MB / 0.6588 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.1627, allocations: 216.9 kB / 0.659 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1627, allocations: 0 / 0.659 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.218e-05/0.1628, allocations: 55.92 kB / 0.6591 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.163, allocations: 14 kB / 0.6591 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1649, allocations: 1.821 MB / 0.6608 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1653, allocations: 0.7083 MB / 0.6615 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.236e-05/0.1653, allocations: 12.88 kB / 0.6615 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.1654, allocations: 35.42 kB / 0.6616 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of SimCode: time 2.304e-06/0.1654, allocations: 0 / 0.6616 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.1913, allocations: 4.609 MB / 0.6661 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.284, allocations: 3.938 kB / 0.6661 GB, free: 3.191 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)