Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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.001553/0.001553, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001861/0.001861, allocations: 213.8 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.795/2.795, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 72.88 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2866, allocations: 170 MB / 1.283 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001694/0.2883, allocations: 0.5334 MB / 1.283 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000191/0.2885, allocations: 39.81 kB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.2885, allocations: 0 / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.2885, allocations: 4 kB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2887, allocations: 7.938 kB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.822e-05/0.2887, allocations: 3.984 kB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.2888, allocations: 11.94 kB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.2889, allocations: 7.938 kB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.2889, allocations: 7.984 kB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.289, allocations: 7.984 kB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.289, allocations: 0 / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-06/0.289, allocations: 0 / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.289, allocations: 11.92 kB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.2891, allocations: 4 kB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.206e-05/0.2891, allocations: 15.45 kB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2891, allocations: 4 kB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.307e-06/0.2891, allocations: 4 kB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.2892, allocations: 3.984 kB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004153/0.2896, allocations: 252 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2896, allocations: 8.031 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.2896, allocations: 30.75 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.2897, allocations: 0.9375 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.2898, allocations: 126.5 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2898, allocations: 12.3 kB / 1.284 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.2899, allocations: 4.375 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.2899, allocations: 30.27 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2899, allocations: 3.938 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.29, allocations: 3.984 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.29, allocations: 0 / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.29, allocations: 4 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.2901, allocations: 124.8 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.629e-05/0.2902, allocations: 22.55 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.2902, allocations: 16.86 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.2902, allocations: 0 / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2903, allocations: 34.56 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.2903, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.2904, allocations: 49.61 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2904, allocations: 51.41 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.2905, allocations: 109.8 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2905, allocations: 29.64 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.2906, allocations: 84.23 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2906, allocations: 3.953 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.2906, allocations: 13.72 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2908, allocations: 330.9 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.2908, allocations: 4 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.2908, allocations: 13.72 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.2909, allocations: 25.7 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2909, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.169e-05/0.2909, allocations: 45.62 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2909, allocations: 11.94 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.291, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.291, allocations: 128 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.291, allocations: 8 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.291, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.2911, allocations: 4 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.2911, allocations: 3.984 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.286e-05/0.2911, allocations: 109.8 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.2911, allocations: 11.89 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.593e-05/0.2912, allocations: 49.09 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2912, allocations: 4 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2912, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-06/0.2912, allocations: 4.031 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.2913, allocations: 120.8 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2913, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.2914, allocations: 4 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2914, allocations: 7.922 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2914, allocations: 4.25 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2914, allocations: 8 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2914, allocations: 0 / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.2915, allocations: 73.06 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.2916, allocations: 11.97 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2916, allocations: 8.031 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.2916, allocations: 0 / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2916, allocations: 4 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2916, allocations: 3.938 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.2917, allocations: 95.2 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2917, allocations: 0 / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001734/0.2918, allocations: 0 / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0003923/0.2922, allocations: 0.6125 MB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.567e-05/0.2923, allocations: 20.08 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2923, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.2923, allocations: 8 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2925, allocations: 10.44 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.2935, allocations: 1.139 MB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.563e-05/0.2935, allocations: 63.34 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.2935, allocations: 7.891 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.2936, allocations: 19.42 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.2936, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3213, allocations: 1.695 MB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.24, allocations: 13.81 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_11_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.799245215952396]