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.0007714/0.0007714, 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.0007745/0.0007745, 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.8687/0.8687, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001412/0.001412, allocations: 233.8 kB / 259.4 MB, free: 13.02 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.6647/0.6647, allocations: 138.4 MB / 454.3 MB, free: 29.97 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.734e-06/1.734e-06, allocations: 0 / 0.6462 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.632e-05, allocations: 5.234 kB / 0.6462 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001752/0.001769, allocations: 1.495 MB / 0.6477 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2245/0.2262, allocations: 0.6323 MB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.2263, allocations: 0.9062 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.334e-05/0.2264, allocations: 12.12 kB / 0.6483 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.2264, allocations: 19.44 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.2272, allocations: 355.1 kB / 0.6487 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.2274, allocations: 175.8 kB / 0.6489 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.2274, allocations: 7 kB / 0.6489 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2275, allocations: 92.59 kB / 0.649 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.2276, allocations: 46.17 kB / 0.649 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.2276, allocations: 10.81 kB / 0.649 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.2279, allocations: 281 kB / 0.6493 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.228, allocations: 35.45 kB / 0.6493 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.228, allocations: 46.45 kB / 0.6494 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.2284, allocations: 363.9 kB / 0.6497 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2284, allocations: 0 / 0.6497 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2284, allocations: 0.9062 kB / 0.6497 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.2284, allocations: 0 / 0.6497 GB, free: 55.76 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.000416/0.2288, allocations: 398.6 kB / 0.6501 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2288, allocations: 13.69 kB / 0.6501 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.485e-05/0.2289, allocations: 41.39 kB / 0.6501 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.2289, allocations: 11.73 kB / 0.6502 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.229, allocations: 153.6 kB / 0.6503 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.229, allocations: 6.406 kB / 0.6503 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2291, allocations: 15.91 kB / 0.6503 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.2292, allocations: 98 kB / 0.6504 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.2292, allocations: 0.75 kB / 0.6504 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2292, allocations: 6.25 kB / 0.6504 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2292, allocations: 5.281 kB / 0.6504 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.627e-05/0.2293, allocations: 50.17 kB / 0.6505 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2294, allocations: 198 kB / 0.6507 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.2295, allocations: 101.6 kB / 0.6508 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.2296, allocations: 64.36 kB / 0.6508 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.2296, allocations: 2.781 kB / 0.6508 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.2298, allocations: 141.7 kB / 0.651 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.2298, allocations: 0.7188 kB / 0.651 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21): time 0.0002745/0.23, allocations: 213.9 kB / 0.6512 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.2301, allocations: 122.3 kB / 0.6513 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.2301, allocations: 143.9 kB / 0.6514 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2301, allocations: 34.08 kB / 0.6514 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.2302, allocations: 101.6 kB / 0.6515 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.2302, allocations: 61.8 kB / 0.6516 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.2303, allocations: 61.2 kB / 0.6517 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.2303, allocations: 328.4 kB / 0.652 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.2304, allocations: 49.58 kB / 0.652 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.2305, allocations: 465.7 kB / 0.6525 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2307, allocations: 128.2 kB / 0.6526 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2307, allocations: 3.938 kB / 0.6526 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001856/0.2309, allocations: 202.4 kB / 0.6528 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.2309, allocations: 10.56 kB / 0.6528 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.2309, allocations: 5.469 kB / 0.6528 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2309, allocations: 1.844 kB / 0.6528 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.231, allocations: 18.92 kB / 0.6528 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.231, allocations: 2 kB / 0.6528 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.2311, allocations: 47.69 kB / 0.6529 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2311, allocations: 11.55 kB / 0.6529 GB, free: 53.49 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.363e-05/0.2312, allocations: 133.6 kB / 0.653 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.2312, allocations: 18.09 kB / 0.653 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.2312, allocations: 17.36 kB / 0.653 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2312, allocations: 4.031 kB / 0.653 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2312, allocations: 0 / 0.653 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2312, allocations: 2.625 kB / 0.653 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.733e-05/0.2313, allocations: 165.7 kB / 0.6532 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2313, allocations: 4.438 kB / 0.6532 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.2313, allocations: 13.92 kB / 0.6532 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2313, allocations: 7.312 kB / 0.6532 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2313, allocations: 6.328 kB / 0.6532 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2313, allocations: 2.859 kB / 0.6532 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2313, allocations: 0 / 0.6532 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.2315, allocations: 216.1 kB / 0.6534 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.2315, allocations: 14.12 kB / 0.6535 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2315, allocations: 6.938 kB / 0.6535 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.2315, allocations: 8.047 kB / 0.6535 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.2316, allocations: 14.25 kB / 0.6535 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2316, allocations: 8.844 kB / 0.6535 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.2316, allocations: 101.8 kB / 0.6536 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2316, allocations: 1.562 kB / 0.6536 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002128/0.2318, allocations: 105 kB / 0.6537 GB, free: 52.91 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.0004062/0.2322, allocations: 0.8655 MB / 0.6545 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.2324, allocations: 206.6 kB / 0.6547 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.2324, allocations: 0 / 0.6547 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.2325, allocations: 50.31 kB / 0.6548 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.2326, allocations: 10.5 kB / 0.6548 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2337, allocations: 1.842 MB / 0.6566 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.667e-05/0.2337, allocations: 99.36 kB / 0.6567 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.2338, allocations: 12.64 kB / 0.6567 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.2338, allocations: 34.81 kB / 0.6567 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2338, allocations: 0 / 0.6567 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.2491, allocations: 5.446 MB / 0.662 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/6.896, allocations: 9.859 kB / 0.6621 GB, free: 49.45 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 & 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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.515760528855026] Failed to read output from testmodel.py, exit status != 0: 6.977512834593654 6.98699862 6.756395312 Calling exit ...