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.001503/0.001503, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001958/0.001958, allocations: 216 kB / 22.26 MB, free: 5.082 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.02 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.794/2.794, allocations: 476.8 MB / 0.7707 GB, free: 4.27 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.002001/0.002001, allocations: 70.19 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.288, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001813/0.2899, allocations: 0.535 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002005/0.2901, allocations: 39.8 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.2901, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.2901, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.2903, allocations: 4 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.186e-05/0.2904, allocations: 11.92 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.2904, allocations: 8 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.2905, allocations: 4 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.2905, allocations: 15.91 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/0.2906, allocations: 8 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.2906, allocations: 3.938 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.2906, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.2907, allocations: 7.984 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.2907, allocations: 7.875 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.586e-05/0.2908, allocations: 15.44 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2908, allocations: 0 / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2908, allocations: 0 / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.2908, allocations: 0 / 1.284 GB, free: 11.08 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.0005198/0.2913, allocations: 258.4 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2914, allocations: 12.03 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.2914, allocations: 30.75 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.2914, allocations: 0.9375 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.2917, allocations: 130.5 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.2917, allocations: 384 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2917, allocations: 384 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.353e-05/0.2918, allocations: 34.25 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2918, allocations: 7.938 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2918, allocations: 3.984 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2918, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.2918, allocations: 7.938 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.292, allocations: 124.8 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.292, allocations: 18.58 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.2921, allocations: 8.844 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.2921, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.2921, allocations: 38.62 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.2921, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001617/0.2923, allocations: 45.56 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.2923, allocations: 51.41 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2924, allocations: 109.9 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2925, allocations: 29.64 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.2925, allocations: 88.14 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.2925, allocations: 8.078 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.2926, allocations: 17.7 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2927, allocations: 318.8 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.2927, allocations: 0 / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.2928, allocations: 17.7 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.2929, allocations: 25.72 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2929, allocations: 0 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.713e-05/0.293, allocations: 45.69 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.293, allocations: 14.44 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.293, allocations: 7.922 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.293, allocations: 0 / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.2931, allocations: 7.984 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2931, allocations: 0 / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.2931, allocations: 0 / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.2931, allocations: 7.938 kB / 1.285 GB, free: 9.43 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 8.735e-05/0.2932, allocations: 109.9 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.2932, allocations: 11.89 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.2934, allocations: 49.14 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2934, allocations: 0 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.2934, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2934, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2935, allocations: 124.8 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2935, allocations: 3.938 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.2935, allocations: 8.281 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2936, allocations: 3.938 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2936, allocations: 4 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2936, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2936, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.2937, allocations: 81.11 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.2937, allocations: 11.98 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2938, allocations: 3.938 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.2938, allocations: 4.094 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.2938, allocations: 3.984 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2938, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.2939, allocations: 91.22 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2939, allocations: 0 / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001834/0.294, allocations: 4 kB / 1.286 GB, free: 8.844 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.0004726/0.2945, allocations: 0.6201 MB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.053e-05/0.2946, allocations: 11.98 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2946, allocations: 0 / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.2946, allocations: 11.92 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.2948, allocations: 8 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2958, allocations: 1.139 MB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2962, allocations: 0.6768 MB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.2962, allocations: 7.953 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.2962, allocations: 7.438 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.2962, allocations: 0 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.3249, allocations: 1.324 MB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.32, allocations: 8.062 kB / 1.29 GB, free: 5.027 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 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.mat","/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.798546695150435]