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.001927/0.001927, allocations: 107.5 kB / 16.46 MB, free: 6.453 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.00217/0.00217, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.764/2.764, allocations: 476.7 MB / 0.7672 GB, free: 5.238 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.002055/0.002055, allocations: 64.19 kB / 1.112 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7687/0.7708, allocations: 169.9 MB / 1.278 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00166/0.7725, allocations: 0.5281 MB / 1.279 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.7726, allocations: 57.62 kB / 1.279 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.7727, allocations: 0 / 1.279 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.7727, allocations: 0 / 1.279 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.7728, allocations: 7.938 kB / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.192e-05/0.7729, allocations: 0 / 1.279 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.7729, allocations: 19.92 kB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.773, allocations: 0 / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.773, allocations: 4 kB / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.7731, allocations: 15.91 kB / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.7731, allocations: 0 / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-06/0.7731, allocations: 0 / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.7731, allocations: 8 kB / 1.279 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.7732, allocations: 11.92 kB / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.813e-05/0.7732, allocations: 9.766 kB / 1.279 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.7732, allocations: 0 / 1.279 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7732, allocations: 0 / 1.279 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7732, allocations: 0 / 1.279 GB, free: 12.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.0004504/0.7737, allocations: 335.5 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.7737, allocations: 8.031 kB / 1.279 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.7737, allocations: 34.75 kB / 1.279 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.7738, allocations: 8.938 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.774, allocations: 176.3 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.774, allocations: 384 / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.774, allocations: 4.375 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.748e-05/0.774, allocations: 26.27 kB / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.7741, allocations: 7.938 kB / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.7741, allocations: 0 / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.7741, allocations: 0 / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.7741, allocations: 3.984 kB / 1.279 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.7743, allocations: 157.7 kB / 1.28 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.7743, allocations: 26.55 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.7743, allocations: 8.922 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.7743, allocations: 0 / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.7744, allocations: 34.55 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.7744, allocations: 0 / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.7745, allocations: 45.75 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.7745, allocations: 55.41 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.7747, allocations: 113.8 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.7747, allocations: 29.7 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.7747, allocations: 80.14 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7748, allocations: 11.83 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.7748, allocations: 17.72 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.7749, allocations: 318.8 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.775, allocations: 8 kB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.775, allocations: 13.72 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.775, allocations: 25.7 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.775, allocations: 0 / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.503e-05/0.7751, allocations: 45.62 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7751, allocations: 11.88 kB / 1.28 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.7751, allocations: 4.125 kB / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7751, allocations: 4 kB / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.7752, allocations: 0 / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.7752, allocations: 7.984 kB / 1.28 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.7752, allocations: 0 / 1.28 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.7752, allocations: 0 / 1.28 GB, free: 11.06 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.932e-05/0.7753, allocations: 116 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.7753, allocations: 7.891 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.7754, allocations: 57.16 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.7754, allocations: 0 / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7754, allocations: 3.984 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7754, allocations: 0 / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.7756, allocations: 153.7 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.7756, allocations: 256 / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.7756, allocations: 8 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.7756, allocations: 3.938 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.7756, allocations: 4 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7756, allocations: 0 / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7756, allocations: 0 / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.7757, allocations: 85.06 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.7758, allocations: 85.09 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.7758, allocations: 3.938 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.7758, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.7758, allocations: 3.984 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.7758, allocations: 4 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.7759, allocations: 83.28 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7759, allocations: 4.094 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001772/0.7761, allocations: 4 kB / 1.281 GB, free: 10.34 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.0004301/0.7765, allocations: 0.6091 MB / 1.282 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.7766, allocations: 20.08 kB / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7766, allocations: 4.062 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.575e-05/0.7766, allocations: 8 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.7767, allocations: 14.89 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.7778, allocations: 1.151 MB / 1.283 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.7781, allocations: 0.6844 MB / 1.283 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.7781, allocations: 4 kB / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.7781, allocations: 11.44 kB / 1.283 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7781, allocations: 4 kB / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.8033, allocations: 1.202 MB / 1.285 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.709, allocations: 9.656 kB / 1.285 GB, free: 6.551 MB / 0.9825 GB " [Timeout remaining time 291] (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: 14.780100618023425]