Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.001137/0.001137, allocations: 108 kB / 15.61 MB, free: 152 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.00113/0.00113, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.002039, allocations: 271.2 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 101.6 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1306, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002404/0.1331, allocations: 1.482 MB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1341, allocations: 0.6867 MB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.1342, allocations: 0 / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.1342, allocations: 8.812 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.1343, allocations: 15.84 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.1352, allocations: 343.7 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1354, allocations: 171.6 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.1354, allocations: 8.812 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.1355, allocations: 75.81 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.1356, allocations: 43.83 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.1356, allocations: 12 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.136, allocations: 251.7 kB / 0.6833 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.136, allocations: 43.89 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.1361, allocations: 59.7 kB / 0.6834 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1365, allocations: 303.3 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1365, allocations: 0 / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1365, allocations: 0 / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1365, allocations: 4 kB / 0.6837 GB, free: 13.13 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.0005445/0.1371, allocations: 478.9 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1371, allocations: 8.031 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.1371, allocations: 38.75 kB / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.1372, allocations: 12.83 kB / 0.6842 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1374, allocations: 216 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1374, allocations: 12.31 kB / 0.6844 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1374, allocations: 12.38 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1376, allocations: 98.67 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1376, allocations: 3.938 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1376, allocations: 0 / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1376, allocations: 4 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.1377, allocations: 43.91 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.138, allocations: 251.4 kB / 0.6848 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1381, allocations: 103.8 kB / 0.6849 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/0.1382, allocations: 74.7 kB / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1382, allocations: 0 / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.1385, allocations: 146.4 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.1385, allocations: 0 / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003793/0.1389, allocations: 214.2 kB / 0.6853 GB, free: 11.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.1389, allocations: 118.7 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.139, allocations: 141.7 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1391, allocations: 33.7 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.1391, allocations: 104.7 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.1392, allocations: 55.34 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.1393, allocations: 57.69 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1394, allocations: 326.8 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1395, allocations: 52.25 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1397, allocations: 185.5 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1399, allocations: 138.5 kB / 0.6865 GB, free: 9.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1399, allocations: 0 / 0.6865 GB, free: 9.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002813/0.1402, allocations: 201.4 kB / 0.6867 GB, free: 9.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1402, allocations: 6.344 kB / 0.6867 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.1402, allocations: 8 kB / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1402, allocations: 3.938 kB / 0.6867 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.1403, allocations: 19.92 kB / 0.6867 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1403, allocations: 4.062 kB / 0.6867 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1406, allocations: 47.8 kB / 0.6868 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1406, allocations: 8 kB / 0.6868 GB, free: 9.629 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.0001081/0.1407, allocations: 145.4 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1407, allocations: 23.8 kB / 0.6869 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1408, allocations: 12.72 kB / 0.6869 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1408, allocations: 4 kB / 0.6869 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1408, allocations: 0 / 0.6869 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1408, allocations: 0 / 0.6869 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.141, allocations: 209.5 kB / 0.6871 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.141, allocations: 3.938 kB / 0.6871 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.141, allocations: 8 kB / 0.6871 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.141, allocations: 4 kB / 0.6872 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.141, allocations: 7.984 kB / 0.6872 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.141, allocations: 4 kB / 0.6872 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1411, allocations: 4 kB / 0.6872 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1413, allocations: 215.6 kB / 0.6874 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.1414, allocations: 88.95 kB / 0.6875 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1414, allocations: 3.984 kB / 0.6875 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.1415, allocations: 11.94 kB / 0.6875 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1415, allocations: 11.98 kB / 0.6875 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.1415, allocations: 4 kB / 0.6875 GB, free: 8.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.702e-05/0.1416, allocations: 111.2 kB / 0.6876 GB, free: 8.676 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1416, allocations: 0 / 0.6876 GB, free: 8.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003396/0.1419, allocations: 96 kB / 0.6877 GB, free: 8.582 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.0006879/0.1426, allocations: 0.8517 MB / 0.6885 GB, free: 7.699 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.143, allocations: 216.9 kB / 0.6887 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.143, allocations: 0 / 0.6887 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.1431, allocations: 55.97 kB / 0.6888 GB, free: 7.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.1432, allocations: 19.88 kB / 0.6888 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.145, allocations: 1.808 MB / 0.6906 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1453, allocations: 0.7163 MB / 0.6913 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.1453, allocations: 16.86 kB / 0.6913 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.1454, allocations: 27.44 kB / 0.6913 GB, free: 4.695 MB / 494.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1454, allocations: 4 kB / 0.6913 GB, free: 4.691 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.1665, allocations: 4.584 MB / 0.6958 GB, free: 300 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.39, allocations: 16.89 kB / 0.6958 GB, free: 288 kB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)