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.0009803/0.0009803, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001591/0.001591, allocations: 173.2 kB / 23.24 MB, free: 1.32 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.9362/0.9362, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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 1.837/1.837, allocations: 389.6 MB / 0.6343 GB, free: 12.56 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.232e-06/1.232e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.198e-05, allocations: 5.938 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001508/0.00152, allocations: 1.424 MB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006094/0.002129, allocations: 455 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.00216, allocations: 0 / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.409e-05/0.002225, allocations: 7.922 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.002272, allocations: 15.86 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.002791, allocations: 256.8 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.002947, allocations: 143.7 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.002984, allocations: 8 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.003061, allocations: 83.88 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.003125, allocations: 27.95 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.003147, allocations: 12 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.003383, allocations: 183.7 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.003436, allocations: 39.91 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.003489, allocations: 43.91 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.003735, allocations: 275.3 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003737, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003738, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003741, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 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.0004054/0.004146, allocations: 381.5 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.00418, allocations: 13.28 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.004211, allocations: 30.75 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.004246, allocations: 16.84 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.004386, allocations: 149.6 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.004398, allocations: 12.38 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.004413, allocations: 8.375 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.004529, allocations: 83.94 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004536, allocations: 192 / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.004544, allocations: 8.312 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.004551, allocations: 4.125 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.577e-05/0.004606, allocations: 31.98 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.004768, allocations: 181.7 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.537e-05/0.004853, allocations: 85.11 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.004905, allocations: 49.81 kB / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.004912, allocations: 8 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.005049, allocations: 105.1 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.00505, allocations: 0 / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0002417/0.005291, allocations: 185.4 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.005335, allocations: 97.02 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/0.00542, allocations: 148.1 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.005441, allocations: 37.69 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.005486, allocations: 96.52 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.005521, allocations: 39.69 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.005569, allocations: 45.7 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.005645, allocations: 330.8 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.005695, allocations: 51.97 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.005932, allocations: 0.5963 MB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.00605, allocations: 97.58 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006052, allocations: 0 / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001535/0.006205, allocations: 165.4 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.006218, allocations: 10.28 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.006236, allocations: 7.984 kB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.006246, allocations: 4.031 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.0063, allocations: 11.98 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.006305, allocations: 4 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.006449, allocations: 67.91 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.006456, allocations: 4 kB / 1.007 GB, free: 7.082 MB / 0.9636 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 7.385e-05/0.00653, allocations: 137.8 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.006541, allocations: 15.84 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.006566, allocations: 24.7 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006568, allocations: 4 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.006572, allocations: 0 / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006575, allocations: 3.938 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.414e-05/0.006659, allocations: 152.7 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006661, allocations: 4 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.006677, allocations: 4 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.006678, allocations: 0 / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.006687, allocations: 11.94 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006688, allocations: 3.984 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006689, allocations: 0 / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.006832, allocations: 181.8 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-06/0.006842, allocations: 7.953 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.006855, allocations: 3.938 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.006874, allocations: 4 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.006908, allocations: 7.984 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.006913, allocations: 4 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.006962, allocations: 117.8 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006962, allocations: 0 / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001878/0.00715, allocations: 79.86 kB / 1.007 GB, free: 6.254 MB / 0.9636 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.0004154/0.007565, allocations: 0.7964 MB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.00774, allocations: 152.1 kB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007742, allocations: 0 / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.007783, allocations: 39.92 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.007905, allocations: 9.688 kB / 1.008 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.009226, allocations: 1.723 MB / 1.01 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.588e-05/0.009282, allocations: 93.11 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.009307, allocations: 8.906 kB / 1.01 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.009343, allocations: 24.5 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.009344, allocations: 4 kB / 1.01 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07662/0.08596, allocations: 4.826 MB / 1.015 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/7.032, allocations: 2.062 kB / 1.015 GB, free: 14.6 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.6184424450621]