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.0008396/0.0008396, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.249/1.249, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6421/0.6421, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 9.719 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 77.1 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001415/0.1406, allocations: 1.177 MB / 0.558 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009235/0.1416, allocations: 0.6468 MB / 0.5587 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.1416, allocations: 0 / 0.5587 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.983e-05/0.1417, allocations: 7.922 kB / 0.5587 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.28e-05/0.1417, allocations: 7.938 kB / 0.5587 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007255/0.1425, allocations: 292.2 kB / 0.559 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1427, allocations: 139.7 kB / 0.5591 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1427, allocations: 4 kB / 0.5591 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.1428, allocations: 67.81 kB / 0.5592 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.1429, allocations: 47.83 kB / 0.5592 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.1429, allocations: 4 kB / 0.5592 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.1432, allocations: 223.7 kB / 0.5594 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.1433, allocations: 35.89 kB / 0.5595 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.1433, allocations: 45.69 kB / 0.5595 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1436, allocations: 207.8 kB / 0.5597 GB, free: 8.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1436, allocations: 4 kB / 0.5597 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1436, allocations: 0 / 0.5597 GB, free: 8.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1436, allocations: 0 / 0.5597 GB, free: 8.777 MB / 430.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.0005208/0.1441, allocations: 454.8 kB / 0.5601 GB, free: 8.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1442, allocations: 8.031 kB / 0.5601 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.1442, allocations: 42.55 kB / 0.5602 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.1443, allocations: 11.91 kB / 0.5602 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1445, allocations: 202.9 kB / 0.5604 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1445, allocations: 12 kB / 0.5604 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1445, allocations: 15.98 kB / 0.5604 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1447, allocations: 100.1 kB / 0.5605 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1447, allocations: 0 / 0.5605 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.1447, allocations: 3.938 kB / 0.5605 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.1447, allocations: 7.984 kB / 0.5605 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.495e-05/0.1448, allocations: 47.92 kB / 0.5606 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.1451, allocations: 251.3 kB / 0.5608 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1452, allocations: 111.9 kB / 0.5609 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.1453, allocations: 70.67 kB / 0.561 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1453, allocations: 0 / 0.561 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.1455, allocations: 145.2 kB / 0.5611 GB, free: 7.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/0.1456, allocations: 0 / 0.5611 GB, free: 7.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003549/0.1459, allocations: 209.4 kB / 0.5613 GB, free: 6.887 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.146, allocations: 118.8 kB / 0.5614 GB, free: 6.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1461, allocations: 140.2 kB / 0.5616 GB, free: 6.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1461, allocations: 37.7 kB / 0.5616 GB, free: 6.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.1462, allocations: 96.64 kB / 0.5617 GB, free: 6.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.1463, allocations: 59.23 kB / 0.5618 GB, free: 6.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.1463, allocations: 8 kB / 0.5618 GB, free: 6.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1464, allocations: 330.8 kB / 0.5621 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.1465, allocations: 52.27 kB / 0.5621 GB, free: 6.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1467, allocations: 172.5 kB / 0.5623 GB, free: 5.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1468, allocations: 79.09 kB / 0.5624 GB, free: 5.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1468, allocations: 0 / 0.5624 GB, free: 5.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002689/0.1471, allocations: 200.8 kB / 0.5626 GB, free: 5.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1471, allocations: 4 kB / 0.5626 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.1471, allocations: 7.953 kB / 0.5626 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1471, allocations: 4 kB / 0.5626 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.1472, allocations: 8 kB / 0.5626 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.1472, allocations: 7.922 kB / 0.5626 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1475, allocations: 63.67 kB / 0.5627 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1475, allocations: 4 kB / 0.5627 GB, free: 5.43 MB / 430.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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.1476, allocations: 140.2 kB / 0.5628 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.1476, allocations: 15.83 kB / 0.5628 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.1477, allocations: 16.72 kB / 0.5628 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1477, allocations: 7.953 kB / 0.5628 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1477, allocations: 4 kB / 0.5628 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1477, allocations: 0 / 0.5628 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1479, allocations: 209.4 kB / 0.563 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1479, allocations: 0 / 0.563 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.1479, allocations: 11.94 kB / 0.563 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1479, allocations: 4 kB / 0.563 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1479, allocations: 0 / 0.563 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1479, allocations: 7.984 kB / 0.5631 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.148, allocations: 4.188 kB / 0.5631 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1482, allocations: 209 kB / 0.5633 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1483, allocations: 88.95 kB / 0.5633 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1483, allocations: 15.92 kB / 0.5634 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.1484, allocations: 4 kB / 0.5634 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.1484, allocations: 15.94 kB / 0.5634 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1484, allocations: 12 kB / 0.5634 GB, free: 4.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.1485, allocations: 113.4 kB / 0.5635 GB, free: 4.473 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1485, allocations: 0 / 0.5635 GB, free: 4.473 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.1488, allocations: 96 kB / 0.5636 GB, free: 4.379 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006911/0.1495, allocations: 0.8417 MB / 0.5644 GB, free: 3.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1499, allocations: 212.9 kB / 0.5646 GB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1499, allocations: 4 kB / 0.5646 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.15, allocations: 59.91 kB / 0.5647 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.1501, allocations: 16.5 kB / 0.5647 GB, free: 3.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1513, allocations: 0.8463 MB / 0.5655 GB, free: 2.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1515, allocations: 0.7164 MB / 0.5662 GB, free: 1.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.1516, allocations: 12.88 kB / 0.5662 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.1516, allocations: 31.44 kB / 0.5663 GB, free: 1.496 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1516, allocations: 0 / 0.5663 GB, free: 1.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.1656, allocations: 4.256 MB / 0.5704 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.1658, allocations: 206.2 kB / 0.5706 GB, free: 13.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/1.905, allocations: 4 kB / 0.5706 GB, free: 13.21 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: