Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.0008496/0.0008496, allocations: 104.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.000932/0.000932, allocations: 214.8 kB / 23.02 MB, free: 2.961 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.9984/0.9984, 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.005/2.005, allocations: 0.5045 GB / 0.8104 GB, free: 2.848 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.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_13_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_13_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 1.177 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/0.7261, allocations: 180 MB / 1.352 GB, free: 1.746 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001959/0.728, allocations: 1.499 MB / 1.354 GB, free: 244 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0006741/0.7287, allocations: 490.9 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.7288, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 9.223e-05/0.7289, allocations: 11.86 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.7289, allocations: 15.88 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.7291, allocations: 55.86 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.7293, allocations: 95.77 kB / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.7294, allocations: 12.17 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.7295, allocations: 55.83 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.7296, allocations: 39.83 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.7296, allocations: 8 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.993e-05/0.7297, allocations: 8 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.7297, allocations: 15.92 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.7298, allocations: 39.8 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.7299, allocations: 93.94 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.7299, allocations: 3.938 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7299, allocations: 0 / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.7299, allocations: 0 / 1.355 GB, free: 15.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005826/0.7305, allocations: 381.4 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.7305, allocations: 8.922 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.7306, allocations: 38.75 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.956e-05/0.7307, allocations: 20.88 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.7309, allocations: 138.4 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.7309, allocations: 4.375 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.7309, allocations: 8.375 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.7311, allocations: 147.2 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.7311, allocations: 4 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.7311, allocations: 7.984 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7311, allocations: 0 / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.7313, allocations: 117.6 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.7317, allocations: 283.8 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.7319, allocations: 132.1 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.732, allocations: 98.62 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.732, allocations: 0 / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.7322, allocations: 161 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.7322, allocations: 0 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0004327/0.7326, allocations: 334.6 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.7327, allocations: 92.98 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.7328, allocations: 136.9 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.7328, allocations: 29.7 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.7328, allocations: 96.09 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.7328, allocations: 23.95 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.7329, allocations: 29.72 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.733, allocations: 322.8 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.7331, allocations: 127.3 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.7332, allocations: 123.4 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.7334, allocations: 181.9 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7334, allocations: 4 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002873/0.7336, allocations: 324.3 kB / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.7337, allocations: 63.41 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7337, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7337, allocations: 4 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.7338, allocations: 15.97 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.7338, allocations: 0 / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.7338, allocations: 27.92 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.7339, allocations: 7.938 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 8.318e-05/0.7339, allocations: 156 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.734, allocations: 11.95 kB / 1.358 GB, free: 11.36 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.734, allocations: 12.7 kB / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.734, allocations: 0 / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.734, allocations: 4 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.734, allocations: 0 / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.7341, allocations: 148.7 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.7341, allocations: 8 kB / 1.358 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.7341, allocations: 11.98 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7341, allocations: 0 / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.7341, allocations: 3.984 kB / 1.358 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7341, allocations: 4 kB / 1.358 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7341, allocations: 0 / 1.358 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.7344, allocations: 280.6 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.7344, allocations: 7.953 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.7344, allocations: 12.06 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.7345, allocations: 23.97 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.7346, allocations: 39.83 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.7346, allocations: 8 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.7346, allocations: 99.2 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7346, allocations: 0 / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001414/0.7348, allocations: 28 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0004411/0.7352, allocations: 0.811 MB / 1.36 GB, free: 9.758 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.7355, allocations: 351.7 kB / 1.36 GB, free: 9.371 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7355, allocations: 0 / 1.36 GB, free: 9.371 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.7357, allocations: 161 kB / 1.36 GB, free: 9.195 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.7358, allocations: 25.52 kB / 1.36 GB, free: 9.172 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.7375, allocations: 2.046 MB / 1.362 GB, free: 6.973 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.7375, allocations: 79.33 kB / 1.362 GB, free: 6.875 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.42e-05/0.7376, allocations: 7.984 kB / 1.362 GB, free: 6.867 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.7376, allocations: 23.42 kB / 1.362 GB, free: 6.844 MB / 1.042 GB Notification: Performance of SimCode: time 5.31e-07/0.7376, allocations: 0 / 1.362 GB, free: 6.844 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08387/0.8215, allocations: 3.772 MB / 1.366 GB, free: 3.227 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/7.394, allocations: 15.94 kB / 1.366 GB, free: 3.211 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu) > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu) > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.30415738467127]