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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001281/0.001281, allocations: 192.3 kB / 22.85 MB, free: 5.652 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.344/1.344, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.002449/0.002449, allocations: 293 kB / 307 MB, free: 8.363 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.18/1.18, allocations: 180.8 MB / 0.5304 GB, free: 14.53 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: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 101.8 kB / 0.7311 GB, free: 38.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1511, allocations: 94.21 MB / 0.8231 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00253/0.1536, allocations: 1.505 MB / 0.8245 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1548, allocations: 0.6983 MB / 0.8252 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.1548, allocations: 4 kB / 0.8252 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.05e-05/0.1549, allocations: 3.938 kB / 0.8252 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.155, allocations: 19.8 kB / 0.8253 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.1559, allocations: 357.5 kB / 0.8256 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.1562, allocations: 163.8 kB / 0.8258 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.1562, allocations: 11.98 kB / 0.8258 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.601e-05/0.1563, allocations: 67.83 kB / 0.8258 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1564, allocations: 63.69 kB / 0.8259 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1564, allocations: 12 kB / 0.8259 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.1569, allocations: 291.7 kB / 0.8262 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.157, allocations: 39.91 kB / 0.8262 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.711e-05/0.157, allocations: 59.72 kB / 0.8263 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.1575, allocations: 303.1 kB / 0.8266 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1575, allocations: 0 / 0.8266 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1575, allocations: 0 / 0.8266 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1575, allocations: 0 / 0.8266 GB, free: 14.3 MB / 0.5762 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.0006077/0.1581, allocations: 405.3 kB / 0.827 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1581, allocations: 12.62 kB / 0.827 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.1582, allocations: 16.83 kB / 0.827 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1584, allocations: 150.3 kB / 0.8271 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1584, allocations: 4.375 kB / 0.8271 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1584, allocations: 12.38 kB / 0.8271 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1586, allocations: 110.6 kB / 0.8272 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1586, allocations: 4.172 kB / 0.8272 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1587, allocations: 7.938 kB / 0.8273 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1587, allocations: 0 / 0.8273 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.1588, allocations: 47.97 kB / 0.8273 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.159, allocations: 218.4 kB / 0.8275 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1592, allocations: 107.8 kB / 0.8276 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1593, allocations: 66.61 kB / 0.8277 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1593, allocations: 3.984 kB / 0.8277 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.1595, allocations: 141.8 kB / 0.8278 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.1595, allocations: 0 / 0.8278 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0004245/0.16, allocations: 214.1 kB / 0.828 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.16, allocations: 114.8 kB / 0.8281 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1602, allocations: 143.6 kB / 0.8283 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.1602, allocations: 37.7 kB / 0.8283 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.1603, allocations: 92.64 kB / 0.8284 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.1603, allocations: 55.61 kB / 0.8284 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.1604, allocations: 69.69 kB / 0.8285 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1606, allocations: 322.8 kB / 0.8288 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.1607, allocations: 48.27 kB / 0.8289 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.161, allocations: 471.1 kB / 0.8293 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1612, allocations: 130.5 kB / 0.8294 GB, free: 11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1612, allocations: 0 / 0.8294 GB, free: 11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003335/0.1616, allocations: 209.3 kB / 0.8296 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1616, allocations: 8 kB / 0.8296 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.1616, allocations: 4 kB / 0.8296 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1616, allocations: 0 / 0.8296 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.1617, allocations: 15.94 kB / 0.8297 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1617, allocations: 4 kB / 0.8297 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.1619, allocations: 57.27 kB / 0.8297 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.162, allocations: 8.234 kB / 0.8297 GB, free: 10.69 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.0001308/0.1621, allocations: 137.1 kB / 0.8299 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1621, allocations: 15.84 kB / 0.8299 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.1622, allocations: 20.7 kB / 0.8299 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1622, allocations: 144 / 0.8299 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1622, allocations: 12 kB / 0.8299 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1622, allocations: 3.984 kB / 0.8299 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1623, allocations: 180.5 kB / 0.8301 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1623, allocations: 0 / 0.8301 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.1624, allocations: 8 kB / 0.8301 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1624, allocations: 4 kB / 0.8301 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1624, allocations: 4 kB / 0.8301 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1624, allocations: 7.938 kB / 0.8301 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1624, allocations: 3.938 kB / 0.8301 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.1627, allocations: 221.2 kB / 0.8303 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.1627, allocations: 19.78 kB / 0.8303 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1628, allocations: 4 kB / 0.8303 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.1628, allocations: 11.92 kB / 0.8304 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1629, allocations: 7.984 kB / 0.8304 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1629, allocations: 12 kB / 0.8304 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.319e-05/0.1629, allocations: 103.2 kB / 0.8305 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1629, allocations: 0 / 0.8305 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003358/0.1633, allocations: 103.8 kB / 0.8306 GB, free: 9.746 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.0002961/0.1636, allocations: 198.9 kB / 0.8308 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1639, allocations: 209 kB / 0.831 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1639, allocations: 0 / 0.831 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.164, allocations: 47.92 kB / 0.831 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.1642, allocations: 13.97 kB / 0.831 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.1646, allocations: 252.6 kB / 0.8313 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1649, allocations: 0.7123 MB / 0.832 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.165, allocations: 8.984 kB / 0.832 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.165, allocations: 15.42 kB / 0.832 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.165, allocations: 4 kB / 0.832 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of Templates: time 0.006376/0.1714, allocations: 3.176 MB / 0.8351 GB, free: 5.098 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.735764782992192] Failed to read output from testmodel.py, exit status != 0: 0.17874754907097667 0.193165672 0.03280637 Calling exit ...