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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005718/0.005718, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001639/0.001639, allocations: 199 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 68.09 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2721, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001571/0.2737, allocations: 0.521 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001231/0.2738, allocations: 19.91 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.2739, allocations: 0 / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.067e-05/0.2739, allocations: 0 / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.274, allocations: 11.98 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.956e-06/0.2741, allocations: 0 / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.2741, allocations: 7.938 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.2741, allocations: 4 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.2742, allocations: 0 / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.315e-05/0.2742, allocations: 0 / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.2742, allocations: 0 / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-06/0.2742, allocations: 4 kB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.2743, allocations: 3.938 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.2743, allocations: 7.969 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 4.042e-05/0.2743, allocations: 0 / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2743, allocations: 4 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2743, allocations: 0 / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2744, allocations: 0 / 1.221 GB, free: 13.76 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.0002968/0.2747, allocations: 315.5 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2747, allocations: 12.03 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.2747, allocations: 34.73 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.818e-05/0.2748, allocations: 0.9375 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2749, allocations: 164.3 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2749, allocations: 4.375 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.2749, allocations: 8.312 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.478e-05/0.275, allocations: 39.98 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/0.275, allocations: 3.938 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.275, allocations: 4 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2751, allocations: 7.922 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.2751, allocations: 11.92 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.2753, allocations: 158.5 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.509e-05/0.2753, allocations: 33.22 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.2753, allocations: 13.84 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2754, allocations: 7.922 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2754, allocations: 34.56 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.2754, allocations: 4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001349/0.2756, allocations: 45.58 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.2756, allocations: 77.11 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.2757, allocations: 97.84 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2757, allocations: 25.7 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.2758, allocations: 80.14 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.2758, allocations: 7.953 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.2758, allocations: 14.09 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.276, allocations: 314.8 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.276, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.276, allocations: 17.7 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.276, allocations: 17.66 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2761, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.714e-05/0.2761, allocations: 41.77 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2761, allocations: 7.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2762, allocations: 4 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2762, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.2762, allocations: 15.92 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2763, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.2763, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.2763, allocations: 0 / 1.222 GB, free: 11.89 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.654e-05/0.2764, allocations: 113.9 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.2764, allocations: 3.938 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2765, allocations: 52.7 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2765, allocations: 0 / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.2765, allocations: 7.938 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2765, allocations: 0 / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2766, allocations: 149.7 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2767, allocations: 4 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.2767, allocations: 64 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.2767, allocations: 11.94 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2767, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2767, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2767, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.519e-05/0.2768, allocations: 71.77 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.2769, allocations: 85.05 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2769, allocations: 7.969 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.2769, allocations: 0 / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.2769, allocations: 7.984 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.2769, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.277, allocations: 79.28 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.277, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000187/0.2772, allocations: 4 kB / 1.223 GB, free: 11.21 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.0003866/0.2776, allocations: 0.606 MB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.2777, allocations: 8 kB / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2777, allocations: 0 / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.2777, allocations: 7.938 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2778, allocations: 8.281 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.2781, allocations: 127.3 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2784, allocations: 0.6768 MB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.549e-05/0.2784, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.2785, allocations: 7.438 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.2785, allocations: 0 / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.2989, allocations: 0.9373 MB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.822, allocations: 1.406 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB (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) 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) Reference file matches