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.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 196 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.52/2.52, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 0.8693 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5622, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001645/0.5639, allocations: 0.5404 MB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001534/0.5641, allocations: 35.83 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.5641, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.5642, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.5643, allocations: 11.92 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.359e-05/0.5644, allocations: 7.984 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.464e-05/0.5644, allocations: 11.94 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.5645, allocations: 7.984 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.5645, allocations: 4 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.5646, allocations: 11.88 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.5646, allocations: 4 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.5646, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.5647, allocations: 7.984 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.5647, allocations: 11.92 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.788e-05/0.5648, allocations: 4 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5648, allocations: 3.984 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5648, allocations: 3.938 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.5648, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.7637 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.0003581/0.5651, allocations: 337.7 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.5652, allocations: 8.031 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.5652, allocations: 30.75 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.5652, allocations: 4.844 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.5654, allocations: 172.4 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.5654, allocations: 384 / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.5654, allocations: 4.375 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.604e-05/0.5655, allocations: 34.25 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5655, allocations: 3.938 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.5655, allocations: 4 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5655, allocations: 7.938 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.5656, allocations: 4 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.5657, allocations: 153.7 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/0.5657, allocations: 18.58 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.5658, allocations: 8.844 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.5658, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5658, allocations: 38.62 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.5658, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.5659, allocations: 49.47 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.566, allocations: 51.41 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.5661, allocations: 113.8 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.5661, allocations: 25.7 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.5661, allocations: 80.14 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.5661, allocations: 4.125 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.5662, allocations: 21.7 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.5663, allocations: 314.8 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.5663, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.5663, allocations: 21.7 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.5664, allocations: 21.66 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5664, allocations: 4.062 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.652e-05/0.5665, allocations: 53.56 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5665, allocations: 11.94 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5665, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5665, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.5666, allocations: 11.92 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.5666, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.5666, allocations: 3.906 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.5666, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 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 5.952e-05/0.5667, allocations: 110.6 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.5667, allocations: 7.938 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.188e-05/0.5668, allocations: 53.14 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5668, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5668, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.5668, allocations: 7.938 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.449e-05/0.5669, allocations: 153.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5669, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.567, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.567, allocations: 7.969 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.567, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.567, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.567, allocations: 256 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.5671, allocations: 77.11 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.5672, allocations: 81.02 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.5672, allocations: 7.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.5672, allocations: 16.11 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.5673, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5673, allocations: 3.984 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.5673, allocations: 91.27 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.503e-06/0.5673, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001843/0.5675, allocations: 7.938 kB / 1.02 GB, free: 15.22 MB / 0.7794 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.0003198/0.5678, allocations: 0.6086 MB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.5679, allocations: 15.94 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5679, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.568, allocations: 11.98 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.5681, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.569, allocations: 1.159 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.5692, allocations: 0.6807 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.513e-05/0.5692, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.5692, allocations: 19.38 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5692, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.586, allocations: 1.146 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.899, allocations: 19.7 kB / 1.024 GB, free: 11.47 MB / 0.7794 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