Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.0008372/0.0008372, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 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.0009009/0.0009009, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 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.9667/0.9667, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.06/2.06, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_13_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_13_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 75.89 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7403/0.7414, allocations: 180 MB / 1.352 GB, free: 1.664 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002466/0.7438, allocations: 1.432 MB / 1.354 GB, free: 228 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007552/0.7446, allocations: 458.4 kB / 1.354 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.7446, allocations: 0 / 1.354 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.7449, allocations: 11.92 kB / 1.354 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.745, allocations: 3.938 kB / 1.354 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.7457, allocations: 256.8 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.7459, allocations: 143.8 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.746, allocations: 0 / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.725e-05/0.746, allocations: 59.84 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.7461, allocations: 43.81 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.7461, allocations: 12 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.7464, allocations: 187.7 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.7465, allocations: 31.97 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.7465, allocations: 43.8 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.7468, allocations: 237.6 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7468, allocations: 4 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7468, allocations: 0 / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7468, allocations: 0 / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004752/0.7473, allocations: 377.5 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.7474, allocations: 8.922 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.7474, allocations: 34.75 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.7474, allocations: 12.89 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.7476, allocations: 162.2 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.7476, allocations: 8.375 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.7476, allocations: 12.38 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.7478, allocations: 79.95 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7478, allocations: 7.938 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.7478, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7478, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.7479, allocations: 43.91 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.7481, allocations: 189.6 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.37e-05/0.7482, allocations: 65.25 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.7482, allocations: 57.75 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.7482, allocations: 0 / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.7484, allocations: 113 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of pre-optimization done (n=14): time 8.41e-07/0.7484, allocations: 0 / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of matching and sorting (n=14): time 0.0003096/0.7487, allocations: 185.5 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.7488, allocations: 89.09 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.7489, allocations: 159.3 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.7489, allocations: 33.7 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.749, allocations: 100.5 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.749, allocations: 31.73 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.7491, allocations: 53.69 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.7492, allocations: 326.8 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.7493, allocations: 39.98 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.7496, allocations: 0.6065 MB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.7497, allocations: 97.62 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7497, allocations: 0 / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002098/0.7499, allocations: 173.4 kB / 1.358 GB, free: 11.36 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7499, allocations: 4 kB / 1.358 GB, free: 11.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.7499, allocations: 4 kB / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.75, allocations: 4 kB / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.75, allocations: 7.938 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.75, allocations: 4.625 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.7502, allocations: 79.78 kB / 1.358 GB, free: 11.26 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.7502, allocations: 4 kB / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.597e-05/0.7503, allocations: 134.4 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.7503, allocations: 31.83 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.7504, allocations: 12.66 kB / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7504, allocations: 4 kB / 1.358 GB, free: 11.06 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7504, allocations: 0 / 1.358 GB, free: 11.06 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7504, allocations: 0 / 1.358 GB, free: 11.06 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.7505, allocations: 160.6 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7505, allocations: 0 / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.7505, allocations: 11.92 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.7505, allocations: 0 / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.7505, allocations: 4 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.7505, allocations: 0 / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7505, allocations: 4 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.7507, allocations: 189.8 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.7508, allocations: 7.953 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.7508, allocations: 4 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.7508, allocations: 11.92 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.7508, allocations: 4 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.7508, allocations: 3.984 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.716e-05/0.7509, allocations: 116.9 kB / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7509, allocations: 0 / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003027/0.7512, allocations: 75.86 kB / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005633/0.7518, allocations: 0.7831 MB / 1.36 GB, free: 9.605 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.752, allocations: 159.3 kB / 1.36 GB, free: 9.438 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.752, allocations: 4 kB / 1.36 GB, free: 9.434 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.7521, allocations: 39.92 kB / 1.36 GB, free: 9.395 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.7523, allocations: 9.828 kB / 1.36 GB, free: 9.387 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.754, allocations: 1.703 MB / 1.362 GB, free: 7.59 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.7541, allocations: 104.8 kB / 1.362 GB, free: 7.461 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.7541, allocations: 8.672 kB / 1.362 GB, free: 7.453 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.7542, allocations: 27.42 kB / 1.362 GB, free: 7.426 MB / 1.042 GB Notification: Performance of SimCode: time 8.01e-07/0.7542, allocations: 0 / 1.362 GB, free: 7.426 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.8756, allocations: 4.694 MB / 1.366 GB, free: 2.914 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/7.777, allocations: 0.6562 kB / 1.366 GB, free: 2.914 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu) > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_fmpy_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 ../Buildings_13_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu) > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.954445291310549]