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.001602/0.001602, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002022/0.002022, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.984 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.751/2.751, allocations: 476.8 MB / 0.7707 GB, free: 4.367 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.001999/0.001999, allocations: 67.48 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3065, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001686/0.3082, allocations: 0.5389 MB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001683/0.3083, allocations: 39.88 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.3084, allocations: 3.938 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.3084, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.3085, allocations: 4 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.548e-05/0.3086, allocations: 7.938 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.872e-05/0.3087, allocations: 19.91 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.3087, allocations: 0 / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.3087, allocations: 4 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.3088, allocations: 7.984 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3088, allocations: 0 / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.3088, allocations: 4 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.3089, allocations: 7.875 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.3089, allocations: 8 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.603e-05/0.309, allocations: 23.42 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.309, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.309, allocations: 0 / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.309, allocations: 0 / 1.284 GB, free: 11.02 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.0003894/0.3094, allocations: 254.4 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3094, allocations: 12.02 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.3095, allocations: 30.75 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.3095, allocations: 4.938 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3097, allocations: 110.5 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.3097, allocations: 4.375 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3097, allocations: 384 / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.029e-05/0.3098, allocations: 38.25 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3098, allocations: 7.875 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.3098, allocations: 0 / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3098, allocations: 4 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.3098, allocations: 3.938 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.31, allocations: 124.8 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.31, allocations: 30.53 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.31, allocations: 8.922 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3101, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3101, allocations: 30.56 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.3101, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.3102, allocations: 49.56 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.3103, allocations: 51.41 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3104, allocations: 118.1 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3104, allocations: 29.69 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.3104, allocations: 80.14 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3105, allocations: 3.953 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3105, allocations: 21.72 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3106, allocations: 310.8 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.3107, allocations: 7.984 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.3107, allocations: 17.72 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.3107, allocations: 29.64 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3107, allocations: 0 / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.481e-05/0.3108, allocations: 45.69 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3108, allocations: 9.812 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3108, allocations: 0 / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3108, allocations: 0 / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.3109, allocations: 12.06 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3109, allocations: 4.25 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.3109, allocations: 0 / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.311, allocations: 4 kB / 1.285 GB, free: 9.391 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.555e-05/0.311, allocations: 113.8 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.3111, allocations: 7.891 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.3112, allocations: 49.16 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3112, allocations: 3.984 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3112, allocations: 4.031 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3112, allocations: 0 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3113, allocations: 124.8 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3113, allocations: 4 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.3114, allocations: 3.938 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.3114, allocations: 7.922 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3114, allocations: 4 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3114, allocations: 3.938 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3114, allocations: 3.938 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.3115, allocations: 73.12 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.3115, allocations: 15.97 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3115, allocations: 3.938 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.3116, allocations: 4 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3116, allocations: 4 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.3116, allocations: 0 / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.526e-05/0.3117, allocations: 91.27 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3117, allocations: 0 / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001768/0.3118, allocations: 0 / 1.286 GB, free: 8.801 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.0004305/0.3123, allocations: 0.6163 MB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.449e-05/0.3123, allocations: 15.98 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3123, allocations: 4 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.3124, allocations: 12.16 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.3125, allocations: 0 / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3136, allocations: 1.143 MB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3139, allocations: 0.6807 MB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.3139, allocations: 0 / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3139, allocations: 19.42 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3139, allocations: 0 / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.3429, allocations: 1.304 MB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.79, allocations: 15.61 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB " [Timeout remaining time 289] (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.287332297999455]