Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_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.00773/0.00773, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001963/0.001963, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 62.77 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2716, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00181/0.2734, allocations: 0.5266 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001679/0.2736, allocations: 39.86 kB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.2737, allocations: 0 / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.2737, allocations: 3.938 kB / 1.088 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.2738, allocations: 0 / 1.088 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.19e-05/0.2739, allocations: 11.94 kB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.274, allocations: 15.92 kB / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.274, allocations: 0 / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.2741, allocations: 11.98 kB / 1.088 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.2741, allocations: 15.92 kB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2742, allocations: 0 / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.2742, allocations: 4 kB / 1.088 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.2742, allocations: 0 / 1.088 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.2742, allocations: 7.938 kB / 1.088 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.874e-05/0.2743, allocations: 11.92 kB / 1.088 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2743, allocations: 0 / 1.088 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2743, allocations: 0 / 1.088 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2743, allocations: 0 / 1.088 GB, free: 1.328 MB / 0.8419 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.0004079/0.2747, allocations: 339.7 kB / 1.088 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2748, allocations: 12.03 kB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.2748, allocations: 34.73 kB / 1.088 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.2748, allocations: 4.875 kB / 1.088 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.275, allocations: 176.3 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.275, allocations: 384 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2751, allocations: 4.375 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.2752, allocations: 34.25 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2752, allocations: 7.938 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.2752, allocations: 0 / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2752, allocations: 3.984 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.2752, allocations: 4 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.2754, allocations: 153.7 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.2754, allocations: 26.84 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.2755, allocations: 4.859 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.2755, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.2755, allocations: 38.62 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.2755, allocations: 0 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001791/0.2757, allocations: 45.62 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2758, allocations: 59.33 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.2759, allocations: 109.8 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2759, allocations: 25.7 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.276, allocations: 84.14 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.276, allocations: 8.078 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.276, allocations: 13.72 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2762, allocations: 318.8 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.2762, allocations: 7.984 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.2762, allocations: 13.72 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.2763, allocations: 21.7 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2763, allocations: 8 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.385e-05/0.2764, allocations: 49.62 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2764, allocations: 15.88 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2764, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2765, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.2765, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2765, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.2766, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.2766, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 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.707e-05/0.2767, allocations: 113.9 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.2767, allocations: 15.83 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2768, allocations: 45.22 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2768, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2769, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2769, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.277, allocations: 153.7 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.277, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.2771, allocations: 7.984 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2771, allocations: 7.969 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2771, allocations: 256 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2771, allocations: 3.984 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2771, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.2773, allocations: 81.06 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.2773, allocations: 81.09 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2774, allocations: 3.938 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.2774, allocations: 8.125 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.2774, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.2774, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.86e-05/0.2775, allocations: 91.27 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2775, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001902/0.2777, allocations: 4 kB / 1.09 GB, free: 14.77 MB / 0.8575 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.0004387/0.2781, allocations: 0.6202 MB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.2782, allocations: 11.98 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2782, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.2783, allocations: 8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.2784, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2795, allocations: 1.147 MB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.2798, allocations: 0.6884 MB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.2798, allocations: 3.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.2799, allocations: 7.438 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.2799, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.2969, allocations: 1.177 MB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.393, allocations: 7.969 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches