Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.001326/0.001326, allocations: 106.6 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.001538/0.001538, 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8006/0.8006, allocations: 122.8 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70.84 kB / 0.5679 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1312, allocations: 77.93 MB / 0.644 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002877/0.1341, allocations: 1.474 MB / 0.6455 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1354, allocations: 0.69 MB / 0.6461 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.88e-05/0.1355, allocations: 0 / 0.6461 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.1356, allocations: 7.938 kB / 0.6462 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.332e-05/0.1357, allocations: 19.84 kB / 0.6462 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1371, allocations: 349.5 kB / 0.6465 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1373, allocations: 163.7 kB / 0.6467 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.1374, allocations: 11.98 kB / 0.6467 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1375, allocations: 67.89 kB / 0.6467 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.1376, allocations: 59.75 kB / 0.6468 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.1377, allocations: 12 kB / 0.6468 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.138, allocations: 247.7 kB / 0.647 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.1381, allocations: 39.89 kB / 0.6471 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.1382, allocations: 71.69 kB / 0.6472 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.1387, allocations: 299.4 kB / 0.6474 GB, free: 6.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1387, allocations: 0 / 0.6474 GB, free: 6.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1387, allocations: 0 / 0.6474 GB, free: 6.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1387, allocations: 0 / 0.6474 GB, free: 6.098 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.0006537/0.1394, allocations: 492.5 kB / 0.6479 GB, free: 5.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1394, allocations: 8.625 kB / 0.6479 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.1395, allocations: 34.75 kB / 0.6479 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.1395, allocations: 20.78 kB / 0.648 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1398, allocations: 208.2 kB / 0.6482 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1398, allocations: 8.375 kB / 0.6482 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1398, allocations: 12.38 kB / 0.6482 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.14, allocations: 108.6 kB / 0.6483 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.14, allocations: 3.938 kB / 0.6483 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.14, allocations: 0 / 0.6483 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1401, allocations: 4 kB / 0.6483 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.1402, allocations: 43.97 kB / 0.6483 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.1404, allocations: 243.4 kB / 0.6486 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1406, allocations: 111.9 kB / 0.6487 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1407, allocations: 78.59 kB / 0.6488 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1407, allocations: 7.938 kB / 0.6488 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/0.141, allocations: 139.5 kB / 0.6489 GB, free: 4.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.141, allocations: 0 / 0.6489 GB, free: 4.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004234/0.1415, allocations: 213.5 kB / 0.6491 GB, free: 4.168 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.1416, allocations: 122.8 kB / 0.6492 GB, free: 4.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1417, allocations: 141.4 kB / 0.6493 GB, free: 3.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1417, allocations: 33.7 kB / 0.6494 GB, free: 3.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.1418, allocations: 104.7 kB / 0.6495 GB, free: 3.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.1419, allocations: 51.64 kB / 0.6495 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.1419, allocations: 57.69 kB / 0.6496 GB, free: 3.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1421, allocations: 326.8 kB / 0.6499 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.441e-05/0.1422, allocations: 56.25 kB / 0.65 GB, free: 3.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1424, allocations: 180.4 kB / 0.6501 GB, free: 3.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1426, allocations: 134.6 kB / 0.6503 GB, free: 2.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1426, allocations: 0 / 0.6503 GB, free: 2.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002957/0.1429, allocations: 197.3 kB / 0.6504 GB, free: 2.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1429, allocations: 7.984 kB / 0.6504 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.143, allocations: 7.938 kB / 0.6505 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.143, allocations: 0 / 0.6505 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.1431, allocations: 23.94 kB / 0.6505 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1431, allocations: 0 / 0.6505 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.1433, allocations: 57.5 kB / 0.6505 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1433, allocations: 4 kB / 0.6505 GB, free: 2.582 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.0001242/0.1435, allocations: 148.1 kB / 0.6507 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.1435, allocations: 11.91 kB / 0.6507 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.1435, allocations: 16.7 kB / 0.6507 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1435, allocations: 8 kB / 0.6507 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1436, allocations: 0 / 0.6507 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1436, allocations: 3.938 kB / 0.6507 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1437, allocations: 209.5 kB / 0.6509 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1437, allocations: 0 / 0.6509 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.1438, allocations: 16 kB / 0.6509 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1438, allocations: 4 kB / 0.6509 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1438, allocations: 0 / 0.6509 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1438, allocations: 4 kB / 0.6509 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1438, allocations: 3.938 kB / 0.6509 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.1441, allocations: 218.6 kB / 0.6512 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1442, allocations: 92.95 kB / 0.6512 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1442, allocations: 4 kB / 0.6512 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.1443, allocations: 11.92 kB / 0.6513 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1443, allocations: 7.984 kB / 0.6513 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1443, allocations: 8 kB / 0.6513 GB, free: 1.723 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.321e-05/0.1444, allocations: 107.3 kB / 0.6514 GB, free: 1.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1444, allocations: 0 / 0.6514 GB, free: 1.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.1448, allocations: 103.8 kB / 0.6515 GB, free: 1.516 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.0007301/0.1455, allocations: 0.8386 MB / 0.6523 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.1458, allocations: 220.9 kB / 0.6525 GB, free: 420 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1458, allocations: 0 / 0.6525 GB, free: 420 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.1459, allocations: 59.92 kB / 0.6526 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1461, allocations: 13.62 kB / 0.6526 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1479, allocations: 1.827 MB / 0.6544 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.1482, allocations: 0.7083 MB / 0.655 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.981e-05/0.1483, allocations: 17.14 kB / 0.6551 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.1483, allocations: 35.42 kB / 0.6551 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1483, allocations: 0 / 0.6551 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.1693, allocations: 4.602 MB / 0.6596 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.693, allocations: 18.2 kB / 0.6596 GB, free: 9.156 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)