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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002303/0.002303, allocations: 286.6 kB / 303 MB, free: 9.512 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 180.9 MB / 0.5261 GB, free: 14.69 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 99.89 kB / 0.7247 GB, free: 40.04 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1331, allocations: 94.16 MB / 0.8167 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002371/0.1355, allocations: 1.483 MB / 0.8181 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1366, allocations: 0.6948 MB / 0.8188 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.1366, allocations: 7.938 kB / 0.8188 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.343e-05/0.1367, allocations: 7.922 kB / 0.8188 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.1367, allocations: 11.88 kB / 0.8188 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.1376, allocations: 353.8 kB / 0.8192 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.1378, allocations: 171.6 kB / 0.8193 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.1378, allocations: 4 kB / 0.8193 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.1379, allocations: 63.91 kB / 0.8194 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.138, allocations: 59.73 kB / 0.8195 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.138, allocations: 12 kB / 0.8195 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1383, allocations: 251.7 kB / 0.8197 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.1384, allocations: 39.88 kB / 0.8198 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.1385, allocations: 63.73 kB / 0.8198 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.1388, allocations: 311.3 kB / 0.8201 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1388, allocations: 0 / 0.8201 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1388, allocations: 0 / 0.8201 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1388, allocations: 3.938 kB / 0.8201 GB, free: 2 MB / 0.5606 GB 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.0005672/0.1394, allocations: 478.5 kB / 0.8206 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1394, allocations: 12.03 kB / 0.8206 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.1395, allocations: 34.75 kB / 0.8206 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.1395, allocations: 16.89 kB / 0.8206 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1397, allocations: 220 kB / 0.8208 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1397, allocations: 8.375 kB / 0.8208 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1398, allocations: 8.375 kB / 0.8209 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1399, allocations: 103.4 kB / 0.821 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.14, allocations: 3.938 kB / 0.821 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.14, allocations: 0 / 0.821 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.14, allocations: 3.938 kB / 0.821 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.902e-05/0.1401, allocations: 55.91 kB / 0.821 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.1403, allocations: 235.5 kB / 0.8212 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1404, allocations: 103.9 kB / 0.8213 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.1405, allocations: 66.66 kB / 0.8214 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.1405, allocations: 7.984 kB / 0.8214 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1408, allocations: 137.8 kB / 0.8215 GB, free: 320 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.1408, allocations: 0 / 0.8215 GB, free: 320 kB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0003774/0.1411, allocations: 213.5 kB / 0.8217 GB, free: 100 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.1412, allocations: 118.8 kB / 0.8219 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1413, allocations: 141.8 kB / 0.822 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.1414, allocations: 37.7 kB / 0.822 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.1415, allocations: 96.69 kB / 0.8221 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.1415, allocations: 63.52 kB / 0.8222 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.1416, allocations: 65.62 kB / 0.8222 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1417, allocations: 326.8 kB / 0.8226 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.1418, allocations: 52.25 kB / 0.8226 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.142, allocations: 176.5 kB / 0.8228 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.1422, allocations: 130.5 kB / 0.8229 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1422, allocations: 0 / 0.8229 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002902/0.1425, allocations: 213.2 kB / 0.8231 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1425, allocations: 8 kB / 0.8231 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.1425, allocations: 7.984 kB / 0.8231 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1425, allocations: 4 kB / 0.8231 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.1426, allocations: 15.94 kB / 0.8231 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1426, allocations: 0.9375 kB / 0.8231 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.1428, allocations: 47.84 kB / 0.8232 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1428, allocations: 15.98 kB / 0.8232 GB, free: 14.49 MB / 0.5762 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.0001189/0.143, allocations: 140 kB / 0.8233 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.143, allocations: 15.84 kB / 0.8233 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.143, allocations: 20.7 kB / 0.8234 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.143, allocations: 0 / 0.8234 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.143, allocations: 4 kB / 0.8234 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.143, allocations: 0 / 0.8234 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1432, allocations: 205.5 kB / 0.8236 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1432, allocations: 0 / 0.8236 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.1432, allocations: 12 kB / 0.8236 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1432, allocations: 4 kB / 0.8236 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1433, allocations: 4 kB / 0.8236 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1433, allocations: 4 kB / 0.8236 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1433, allocations: 0 / 0.8236 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1435, allocations: 214.5 kB / 0.8238 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1436, allocations: 93.02 kB / 0.8239 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1436, allocations: 4 kB / 0.8239 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.1437, allocations: 15.92 kB / 0.8239 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1437, allocations: 4.141 kB / 0.8239 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1437, allocations: 7.984 kB / 0.8239 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.1438, allocations: 104.8 kB / 0.824 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1438, allocations: 0 / 0.824 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003141/0.1441, allocations: 107.7 kB / 0.8241 GB, free: 13.44 MB / 0.5762 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.0007231/0.1448, allocations: 0.8508 MB / 0.8249 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.1451, allocations: 209 kB / 0.8251 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1451, allocations: 0 / 0.8251 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.1452, allocations: 51.92 kB / 0.8252 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1453, allocations: 11.94 kB / 0.8252 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1473, allocations: 1.816 MB / 0.827 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1476, allocations: 0.7122 MB / 0.8277 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.1476, allocations: 12.88 kB / 0.8277 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1477, allocations: 35.42 kB / 0.8277 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1477, allocations: 0 / 0.8277 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.1751, allocations: 4.653 MB / 0.8323 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.49, allocations: 8.312 kB / 0.8323 GB, free: 5.125 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.055803538300097] Failed to read output from testmodel.py, exit status != 0: 7.553116851951927 7.566151115 7.424773877 Calling exit ...