Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007339/0.007339, allocations: 97.75 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 192.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 55.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2772, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00159/0.2788, allocations: 0.5312 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001666/0.279, allocations: 47.81 kB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.279, allocations: 4 kB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.2791, allocations: 0 / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2792, allocations: 0 / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.317e-05/0.2793, allocations: 11.92 kB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.036e-05/0.2793, allocations: 15.92 kB / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.2794, allocations: 0 / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.2794, allocations: 4 kB / 1.167 GB, free: 6.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.2795, allocations: 7.984 kB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2795, allocations: 0 / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.2795, allocations: 0 / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.2796, allocations: 15.94 kB / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.2796, allocations: 7.922 kB / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.47e-05/0.2797, allocations: 11.92 kB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2797, allocations: 7.938 kB / 1.167 GB, free: 6.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2797, allocations: 0 / 1.167 GB, free: 6.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2797, allocations: 0 / 1.167 GB, free: 6.668 MB / 0.92 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.0004313/0.2801, allocations: 331.7 kB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2802, allocations: 16.02 kB / 1.167 GB, free: 6.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.2802, allocations: 30.75 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.2802, allocations: 4.891 kB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.2804, allocations: 176.4 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2804, allocations: 384 / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.2805, allocations: 4.359 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.039e-05/0.2805, allocations: 34.27 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2806, allocations: 3.938 kB / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.2806, allocations: 0 / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.2806, allocations: 0 / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.2806, allocations: 11.92 kB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2808, allocations: 157.7 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.073e-05/0.2808, allocations: 18.92 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.2808, allocations: 8.797 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2809, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2809, allocations: 34.62 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.2809, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.2811, allocations: 53.5 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2811, allocations: 55.53 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.2812, allocations: 113.8 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2812, allocations: 25.7 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.2813, allocations: 80.14 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.2813, allocations: 4 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2813, allocations: 17.72 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2815, allocations: 318.8 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.2815, allocations: 0 / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.2815, allocations: 17.72 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.2816, allocations: 29.64 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2816, allocations: 0 / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.787e-05/0.2817, allocations: 53.62 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2817, allocations: 11.94 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2817, allocations: 0 / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2817, allocations: 4.125 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.2818, allocations: 7.938 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.2818, allocations: 0 / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.2818, allocations: 0 / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2818, allocations: 4 kB / 1.168 GB, free: 4.828 MB / 0.92 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.656e-05/0.2819, allocations: 109.8 kB / 1.168 GB, free: 4.711 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.567e-06/0.2819, allocations: 7.875 kB / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.282, allocations: 49.22 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.282, allocations: 4.031 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2821, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2821, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.2822, allocations: 157.7 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2822, allocations: 3.984 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.2822, allocations: 4 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2823, allocations: 8.125 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2823, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2823, allocations: 4 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2823, allocations: 3.938 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2824, allocations: 85.06 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.2825, allocations: 77.11 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2825, allocations: 3.938 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.2825, allocations: 4.031 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.2825, allocations: 4 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.2826, allocations: 0 / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.2826, allocations: 87.27 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2826, allocations: 96 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001845/0.2828, allocations: 12 kB / 1.169 GB, free: 4.109 MB / 0.92 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.0004131/0.2832, allocations: 0.6085 MB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.982e-05/0.2833, allocations: 15.98 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.2833, allocations: 4.219 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.2834, allocations: 11.94 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.2835, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2845, allocations: 1.147 MB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.2848, allocations: 0.6807 MB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.847e-05/0.2848, allocations: 3.984 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.2849, allocations: 11.44 kB / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.2849, allocations: 0 / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.3075, allocations: 1.193 MB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.123, allocations: 7.141 kB / 1.173 GB, free: 372 kB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_10_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches