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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007632/0.0007632, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8774/0.8774, allocations: 177.1 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001541/0.001541, allocations: 239 kB / 259.4 MB, free: 12.91 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6711/0.6711, allocations: 138.4 MB / 454.3 MB, free: 29.93 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.421e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001803/0.001817, allocations: 1.491 MB / 0.6477 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2154/0.2172, allocations: 0.6336 MB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.2173, allocations: 0.8438 kB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.199e-05/0.2173, allocations: 12.72 kB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.2174, allocations: 15.89 kB / 0.6484 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.2182, allocations: 353.5 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.2184, allocations: 175.4 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.2184, allocations: 10.17 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.822e-05/0.2185, allocations: 90.98 kB / 0.649 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.2186, allocations: 46.05 kB / 0.649 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.2186, allocations: 11.84 kB / 0.649 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.2189, allocations: 277.3 kB / 0.6493 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.219, allocations: 38.31 kB / 0.6493 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.219, allocations: 43.44 kB / 0.6494 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.2194, allocations: 364 kB / 0.6497 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2194, allocations: 2.453 kB / 0.6497 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2194, allocations: 0 / 0.6497 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2194, allocations: 1.219 kB / 0.6497 GB, free: 55.77 MB / 0.5573 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.0004035/0.2198, allocations: 400.5 kB / 0.6501 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2198, allocations: 12.94 kB / 0.6501 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.2199, allocations: 40.95 kB / 0.6501 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.2199, allocations: 11.92 kB / 0.6502 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.22, allocations: 153.1 kB / 0.6503 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.22, allocations: 9.875 kB / 0.6503 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2201, allocations: 13.41 kB / 0.6503 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.2202, allocations: 97.67 kB / 0.6504 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.2202, allocations: 192 / 0.6504 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2202, allocations: 3.562 kB / 0.6504 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2202, allocations: 4.125 kB / 0.6504 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/0.2203, allocations: 50.42 kB / 0.6505 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.2204, allocations: 200.5 kB / 0.6507 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.612e-05/0.2205, allocations: 100.9 kB / 0.6508 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.2206, allocations: 62.8 kB / 0.6508 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.2206, allocations: 3.25 kB / 0.6508 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.2208, allocations: 138.1 kB / 0.651 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.2208, allocations: 0 / 0.651 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21): time 0.0002756/0.221, allocations: 219 kB / 0.6512 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2211, allocations: 118.1 kB / 0.6513 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.2211, allocations: 145 kB / 0.6514 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2211, allocations: 37.61 kB / 0.6514 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.2212, allocations: 99.47 kB / 0.6515 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.2212, allocations: 59.91 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.2213, allocations: 60.34 kB / 0.6517 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.303e-05/0.2213, allocations: 326.4 kB / 0.652 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.2214, allocations: 50.23 kB / 0.652 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2215, allocations: 469.8 kB / 0.6525 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.2216, allocations: 129 kB / 0.6526 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2216, allocations: 3.031 kB / 0.6526 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001779/0.2218, allocations: 202.4 kB / 0.6528 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2218, allocations: 9.469 kB / 0.6528 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.2218, allocations: 11.89 kB / 0.6528 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2219, allocations: 2.375 kB / 0.6528 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.2219, allocations: 17.75 kB / 0.6528 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2219, allocations: 1.969 kB / 0.6528 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.222, allocations: 49.39 kB / 0.6529 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.222, allocations: 5.875 kB / 0.6529 GB, free: 53.55 MB / 0.5573 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 6.137e-05/0.2221, allocations: 135.9 kB / 0.653 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.2221, allocations: 22.47 kB / 0.653 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.2221, allocations: 14.02 kB / 0.653 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2221, allocations: 5.625 kB / 0.653 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2221, allocations: 1.656 kB / 0.6531 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2221, allocations: 2.484 kB / 0.6531 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.837e-05/0.2222, allocations: 172.6 kB / 0.6532 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2222, allocations: 0 / 0.6532 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.2223, allocations: 9.234 kB / 0.6532 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2223, allocations: 6.516 kB / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2223, allocations: 7.047 kB / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.2223, allocations: 3.812 kB / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2223, allocations: 1.719 kB / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.2224, allocations: 205.2 kB / 0.6534 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.2224, allocations: 18.56 kB / 0.6535 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2224, allocations: 6.469 kB / 0.6535 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.482e-05/0.2225, allocations: 6.469 kB / 0.6535 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.2225, allocations: 18.16 kB / 0.6535 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2225, allocations: 3.531 kB / 0.6535 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.2226, allocations: 108.3 kB / 0.6536 GB, free: 53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2226, allocations: 0 / 0.6536 GB, free: 53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002182/0.2228, allocations: 106.2 kB / 0.6537 GB, free: 52.98 MB / 0.5573 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.000395/0.2232, allocations: 0.8626 MB / 0.6545 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.2234, allocations: 208 kB / 0.6547 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2234, allocations: 3.125 kB / 0.6547 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.059e-05/0.2234, allocations: 46 kB / 0.6548 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.2235, allocations: 7.469 kB / 0.6548 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.2246, allocations: 1.848 MB / 0.6566 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.843e-05/0.2247, allocations: 98.19 kB / 0.6567 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.2247, allocations: 10.58 kB / 0.6567 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2247, allocations: 35.53 kB / 0.6567 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of SimCode: time 3.61e-07/0.2247, allocations: 0 / 0.6567 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.2406, allocations: 5.455 MB / 0.6621 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/6.802, allocations: 11.84 kB / 0.6621 GB, free: 49.52 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.33618650212884] Failed to read output from testmodel.py, exit status != 0: 6.885473748669028 6.900136442 6.677985825 Calling exit ...