Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example8.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.001711/0.001711, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002132/0.002132, allocations: 214.8 kB / 22.25 MB, free: 5.262 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.805 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.849/2.849, allocations: 476 MB / 0.7699 GB, free: 4.742 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.Example8,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example8",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.002187/0.002187, allocations: 65.44 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.326, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001885/0.3279, allocations: 0.5233 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.3281, allocations: 15.92 kB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.3281, allocations: 0 / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.3281, allocations: 0 / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.3283, allocations: 4 kB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.3283, allocations: 0 / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.3284, allocations: 15.86 kB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.3284, allocations: 0 / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.3285, allocations: 7.984 kB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.3285, allocations: 3.938 kB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3285, allocations: 0 / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-06/0.3285, allocations: 0 / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.3285, allocations: 4 kB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.3286, allocations: 4 kB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.188e-05/0.3286, allocations: 5.688 kB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3286, allocations: 3.984 kB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3286, allocations: 0 / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3286, allocations: 0 / 1.283 GB, free: 11.92 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003521/0.329, allocations: 234 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.329, allocations: 15.97 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.3291, allocations: 30.75 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.3291, allocations: 0.9375 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3292, allocations: 114.5 kB / 1.284 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3292, allocations: 4.312 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.3292, allocations: 384 / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3294, allocations: 43.98 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3294, allocations: 3.938 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.3294, allocations: 0 / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3294, allocations: 0 / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.3294, allocations: 7.938 kB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.3296, allocations: 129.6 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.368e-05/0.3297, allocations: 41.27 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.3297, allocations: 9.719 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.3297, allocations: 4.062 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3297, allocations: 38.5 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3297, allocations: 0 / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.3299, allocations: 57.52 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.33, allocations: 77.11 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.3301, allocations: 89.86 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3301, allocations: 25.7 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.3301, allocations: 88.12 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.3301, allocations: 7.953 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.3302, allocations: 17.7 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3303, allocations: 311.2 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.3304, allocations: 4 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.3304, allocations: 17.81 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.3304, allocations: 17.66 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3304, allocations: 0 / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.533e-05/0.3305, allocations: 49.62 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3305, allocations: 7.938 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3305, allocations: 4 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3305, allocations: 4.125 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.3306, allocations: 4 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3306, allocations: 3.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.3306, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3306, allocations: 3.938 kB / 1.285 GB, free: 10.25 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 9.16e-05/0.3307, allocations: 113.8 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.3307, allocations: 7.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.3309, allocations: 48.62 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3309, allocations: 64 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3309, allocations: 4 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3309, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.331, allocations: 120.8 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.331, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.331, allocations: 4 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.331, allocations: 7.922 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.331, allocations: 4 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.331, allocations: 0 / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.331, allocations: 0 / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.631e-05/0.3311, allocations: 69.94 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.3312, allocations: 11.95 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3312, allocations: 3.938 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.3312, allocations: 0 / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.3312, allocations: 4 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.3312, allocations: 0 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.3313, allocations: 75.28 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3313, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001855/0.3314, allocations: 8 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004424/0.3319, allocations: 0.6017 MB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.332, allocations: 15.92 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.332, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.332, allocations: 8 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.3321, allocations: 0 / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.3325, allocations: 123.5 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.985e-05/0.3325, allocations: 55.36 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.3325, allocations: 256 / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.3326, allocations: 11.44 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of SimCode: time 4.4e-07/0.3326, allocations: 3.938 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.362, allocations: 1.436 MB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.31, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_11_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.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.99644762184471]