Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001094/0.001094, 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.004262/0.004262, 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.9545/0.9545, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.913/1.913, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.209e-05, allocations: 2.281 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002158/0.00218, allocations: 0.6983 MB / 1.001 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003301, allocations: 0.8198 MB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.003351, allocations: 4 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.003384, allocations: 7.938 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.00346, allocations: 7.922 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.518e-05/0.003536, allocations: 11.98 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.003633, allocations: 47.8 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.003746, allocations: 15.97 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.356e-05/0.00384, allocations: 19.98 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.003883, allocations: 15.92 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.003903, allocations: 4 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.003912, allocations: 4 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.003932, allocations: 7.984 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.00396, allocations: 15.94 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.004065, allocations: 47.84 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004068, allocations: 0 / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.403e-06/0.004069, allocations: 0 / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.004073, allocations: 0 / 1.002 GB, free: 11.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004878/0.004561, allocations: 282.3 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.004612, allocations: 13.34 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.004654, allocations: 34.73 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.00468, allocations: 4.891 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.004776, allocations: 113.8 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.00479, allocations: 4.375 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.004802, allocations: 4.375 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.00503, allocations: 70.14 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.005039, allocations: 192 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.00505, allocations: 8.375 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.005057, allocations: 4.125 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.005282, allocations: 67.92 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.005659, allocations: 231.9 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.005829, allocations: 58.42 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.005949, allocations: 36.91 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.00596, allocations: 3.938 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.005983, allocations: 42.56 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.005985, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0004473/0.006432, allocations: 125.5 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.006466, allocations: 55.39 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.00655, allocations: 105.9 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.006564, allocations: 29.64 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.006609, allocations: 92.12 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.00663, allocations: 7.953 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.006667, allocations: 13.72 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.006764, allocations: 318.8 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.006873, allocations: 27.97 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.006975, allocations: 27.97 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.00719, allocations: 76.78 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007192, allocations: 0 / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002535/0.007445, allocations: 101.5 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.007461, allocations: 4 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007467, allocations: 0 / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.007484, allocations: 11.98 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.007586, allocations: 15.92 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.007592, allocations: 0 / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.007651, allocations: 11.98 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.007659, allocations: 4 kB / 1.004 GB, free: 9.539 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 6.932e-05/0.007728, allocations: 112.5 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.007752, allocations: 3.938 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.007779, allocations: 15.98 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007781, allocations: 0 / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.007785, allocations: 4 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.007788, allocations: 0 / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.007937, allocations: 128.8 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007938, allocations: 0 / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.008012, allocations: 20.25 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.008015, allocations: 0 / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.008022, allocations: 3.938 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008024, allocations: 0 / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008025, allocations: 0 / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.008329, allocations: 211.3 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.008338, allocations: 3.938 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.008352, allocations: 0 / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.008439, allocations: 11.98 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.008486, allocations: 11.92 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.008491, allocations: 4 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.008534, allocations: 87.25 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.008534, allocations: 0 / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002528/0.008787, allocations: 23.89 kB / 1.005 GB, free: 8.836 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005353/0.009322, allocations: 0.7163 MB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.009593, allocations: 75.86 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009595, allocations: 0 / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.009711, allocations: 39.95 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.01002, allocations: 4 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.01049, allocations: 159.2 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.497e-05/0.01054, allocations: 67.28 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.01058, allocations: 4 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.01063, allocations: 20.48 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/0.01063, allocations: 0 / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08386/0.09448, allocations: 2.325 MB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.149/7.244, allocations: 5.594 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_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_OBC_CDL_Reals_Validation_Average.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Average_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.009456784464419]