Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.001172/0.001172, 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.001148/0.001148, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.272/1.272, 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.002078/0.002078, allocations: 287.2 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9282/0.9282, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 93.89 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1363, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002583/0.1389, allocations: 1.476 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.14, allocations: 0.6889 MB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.1401, allocations: 0 / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.184e-05/0.1402, allocations: 7.922 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.1403, allocations: 15.86 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.1412, allocations: 357.1 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1415, allocations: 167.7 kB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.1415, allocations: 8.281 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.1416, allocations: 71.81 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.1417, allocations: 43.83 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.1418, allocations: 15.94 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.1421, allocations: 247.8 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.1422, allocations: 43.89 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.1423, allocations: 59.72 kB / 0.6834 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.1427, allocations: 303.3 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1427, allocations: 0 / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1427, allocations: 0 / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1427, allocations: 0 / 0.6837 GB, free: 13.12 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.0005963/0.1433, allocations: 474.9 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1434, allocations: 12.03 kB / 0.6841 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.1434, allocations: 38.73 kB / 0.6842 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.1435, allocations: 12.84 kB / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1437, allocations: 220 kB / 0.6844 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1437, allocations: 8.312 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1437, allocations: 12.38 kB / 0.6844 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1439, allocations: 96.8 kB / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1439, allocations: 3.938 kB / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1439, allocations: 0 / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.144, allocations: 7.938 kB / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.1441, allocations: 39.97 kB / 0.6846 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.1443, allocations: 251.4 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1444, allocations: 107.8 kB / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.1445, allocations: 74.7 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1446, allocations: 7.938 kB / 0.685 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.1448, allocations: 138.5 kB / 0.6851 GB, free: 11.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.1448, allocations: 0 / 0.6851 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.000388/0.1452, allocations: 218.1 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.1453, allocations: 118.8 kB / 0.6854 GB, free: 11.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1454, allocations: 143.8 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1454, allocations: 37.69 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.1455, allocations: 96.69 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.1456, allocations: 51.36 kB / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.1456, allocations: 61.69 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1458, allocations: 330.8 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.1459, allocations: 44.27 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1461, allocations: 188.4 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1463, allocations: 134.6 kB / 0.6865 GB, free: 9.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1463, allocations: 4 kB / 0.6865 GB, free: 9.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002886/0.1466, allocations: 197.3 kB / 0.6867 GB, free: 9.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1466, allocations: 7.938 kB / 0.6867 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.1466, allocations: 4 kB / 0.6867 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1466, allocations: 0 / 0.6867 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1467, allocations: 19.92 kB / 0.6867 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1467, allocations: 0 / 0.6867 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.147, allocations: 49.62 kB / 0.6867 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.147, allocations: 8.234 kB / 0.6867 GB, free: 9.621 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.0001182/0.1471, allocations: 149.3 kB / 0.6869 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1471, allocations: 11.81 kB / 0.6869 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.1472, allocations: 16.72 kB / 0.6869 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1472, allocations: 144 / 0.6869 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1472, allocations: 4 kB / 0.6869 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1472, allocations: 3.984 kB / 0.6869 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1474, allocations: 209.5 kB / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1474, allocations: 7.938 kB / 0.6871 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.1474, allocations: 12 kB / 0.6871 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1474, allocations: 7.984 kB / 0.6872 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1475, allocations: 4 kB / 0.6872 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1475, allocations: 4 kB / 0.6872 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1475, allocations: 0 / 0.6872 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1477, allocations: 219.5 kB / 0.6874 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.1478, allocations: 100.9 kB / 0.6875 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1478, allocations: 0 / 0.6875 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.1479, allocations: 11.94 kB / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.1479, allocations: 7.984 kB / 0.6875 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1479, allocations: 4 kB / 0.6875 GB, free: 8.766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.212e-05/0.148, allocations: 113.5 kB / 0.6876 GB, free: 8.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.148, allocations: 0 / 0.6876 GB, free: 8.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000344/0.1484, allocations: 99.98 kB / 0.6877 GB, free: 8.559 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.0006868/0.1491, allocations: 0.8473 MB / 0.6885 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.1494, allocations: 220.9 kB / 0.6887 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1494, allocations: 0 / 0.6887 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.1495, allocations: 55.92 kB / 0.6888 GB, free: 7.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.1497, allocations: 15.94 kB / 0.6888 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1514, allocations: 1.81 MB / 0.6906 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1516, allocations: 0.7122 MB / 0.6913 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.1517, allocations: 12.88 kB / 0.6913 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.1517, allocations: 35.36 kB / 0.6913 GB, free: 4.676 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1517, allocations: 4 kB / 0.6913 GB, free: 4.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.1732, allocations: 4.581 MB / 0.6958 GB, free: 280 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.459, allocations: 9.438 kB / 0.6958 GB, free: 276 kB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)