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.0008766/0.0008766, allocations: 80.52 kB / 19.95 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.0009588/0.0009588, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9051/0.9051, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.791/1.791, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.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 1.363e-06/1.363e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.536e-05, allocations: 2.281 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001816/0.001831, allocations: 1.494 MB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000673/0.002504, allocations: 499.6 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.002568, allocations: 15.88 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.624e-05/0.002654, allocations: 3.938 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.002705, allocations: 7.875 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.002955, allocations: 51.8 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.003101, allocations: 107.7 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.003193, allocations: 12.17 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.003351, allocations: 63.88 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.003418, allocations: 35.89 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.003438, allocations: 8 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.003477, allocations: 16 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.003512, allocations: 19.86 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.003558, allocations: 27.97 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003697, allocations: 103.7 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003699, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.81e-07/0.0037, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003704, allocations: 0 / 1.003 GB, free: 11.1 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004993/0.004203, allocations: 385.4 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.00424, allocations: 13.34 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.00427, allocations: 34.75 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.566e-05/0.004365, allocations: 20.88 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.004531, allocations: 137.7 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.00454, allocations: 4.375 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.004554, allocations: 4.375 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.004763, allocations: 147.9 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004771, allocations: 4.125 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.004788, allocations: 7.938 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004793, allocations: 11.98 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.004956, allocations: 117.6 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.005313, allocations: 287.8 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.005515, allocations: 124.2 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.00562, allocations: 106.6 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.00563, allocations: 0 / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.005845, allocations: 157 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.005846, allocations: 0 / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004221/0.006268, allocations: 334.6 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.006305, allocations: 89.11 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.006382, allocations: 140.6 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.006395, allocations: 25.7 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.006444, allocations: 100.1 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.006457, allocations: 15.84 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.006498, allocations: 33.7 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.006572, allocations: 330.7 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.006685, allocations: 119.4 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.006803, allocations: 127.3 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.006979, allocations: 185.9 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00698, allocations: 0 / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002853/0.007266, allocations: 320.3 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.007299, allocations: 67.39 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.007303, allocations: 0 / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.007313, allocations: 0 / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.007376, allocations: 19.92 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.00738, allocations: 4 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.007452, allocations: 19.97 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.007463, allocations: 4 kB / 1.006 GB, free: 7.328 MB / 0.9636 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 7.548e-05/0.007539, allocations: 159.5 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.007549, allocations: 11.89 kB / 1.007 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.007569, allocations: 12.78 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007571, allocations: 0 / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.007575, allocations: 4 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.007577, allocations: 0 / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.707e-05/0.007664, allocations: 164.7 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007665, allocations: 0 / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.007706, allocations: 11.98 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.007707, allocations: 0 / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.007718, allocations: 4 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.007718, allocations: 96 / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.007719, allocations: 3.938 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.007993, allocations: 280.4 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.008004, allocations: 11.89 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.008021, allocations: 4.312 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.899e-05/0.00808, allocations: 23.97 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.008166, allocations: 27.97 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.008177, allocations: 15.92 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.008219, allocations: 103.3 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008219, allocations: 0 / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001405/0.00836, allocations: 31.95 kB / 1.007 GB, free: 6.383 MB / 0.9636 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.0004608/0.00882, allocations: 0.8059 MB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.009123, allocations: 351.7 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.009124, allocations: 0 / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.009251, allocations: 153.1 kB / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.009393, allocations: 23.92 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.01095, allocations: 2.033 MB / 1.01 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.434e-05/0.011, allocations: 75.33 kB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.01103, allocations: 11.84 kB / 1.011 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.01108, allocations: 24.48 kB / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of SimCode: time 4.6e-07/0.01108, allocations: 3.938 kB / 1.011 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07548/0.08656, allocations: 3.897 MB / 1.014 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.451/6.538, allocations: 3.359 kB / 1.014 GB, free: 14.89 MB / 0.9792 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: 10.992363753728569]