Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_10_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.00726/0.00726, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001558/0.001558, allocations: 190 kB / 16.67 MB, free: 5.48 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.352/2.352, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7025/0.7039, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001519/0.7054, allocations: 0.5311 MB / 1.167 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.7056, allocations: 13.89 kB / 1.167 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.7056, allocations: 0 / 1.167 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.7056, allocations: 3.938 kB / 1.167 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.7058, allocations: 3.938 kB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.7058, allocations: 0 / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.7059, allocations: 11.98 kB / 1.167 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.7059, allocations: 0 / 1.167 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.7059, allocations: 15.92 kB / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.706, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.706, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-06/0.706, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.706, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.706, allocations: 7.938 kB / 1.167 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 4.33e-05/0.7061, allocations: 0 / 1.167 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7061, allocations: 0 / 1.167 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7061, allocations: 0 / 1.167 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.7061, allocations: 0 / 1.167 GB, free: 3.184 MB / 0.8887 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.000264/0.7064, allocations: 323.5 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.7064, allocations: 12.92 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.7065, allocations: 30.75 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.7065, allocations: 0.9375 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.7066, allocations: 164.4 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.7066, allocations: 384 / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.7066, allocations: 384 / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.609e-05/0.7067, allocations: 43.92 kB / 1.167 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.7067, allocations: 7.938 kB / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.7067, allocations: 8 kB / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.7067, allocations: 0 / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.7068, allocations: 0 / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.7069, allocations: 161.2 kB / 1.167 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.624e-05/0.7069, allocations: 37.22 kB / 1.167 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.707, allocations: 17.66 kB / 1.167 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.707, allocations: 4.062 kB / 1.167 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.707, allocations: 34.56 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.707, allocations: 0 / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/0.7072, allocations: 45.56 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.7072, allocations: 81.11 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.511e-05/0.7073, allocations: 102 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.7073, allocations: 25.7 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.7073, allocations: 80.14 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.7073, allocations: 11.92 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.7074, allocations: 13.72 kB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.7075, allocations: 314.8 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.7075, allocations: 8 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.7075, allocations: 13.84 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.7075, allocations: 17.72 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7075, allocations: 0 / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.048e-05/0.7076, allocations: 45.62 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7076, allocations: 7.938 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.7076, allocations: 0 / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7077, allocations: 4 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.7077, allocations: 4.125 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7077, allocations: 4 kB / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.7078, allocations: 0 / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.7078, allocations: 3.984 kB / 1.168 GB, free: 1.32 MB / 0.8887 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.685e-05/0.7078, allocations: 108 kB / 1.168 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.7078, allocations: 7.938 kB / 1.168 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.708, allocations: 52.78 kB / 1.168 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.708, allocations: 0 / 1.168 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.708, allocations: 4 kB / 1.168 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.708, allocations: 4 kB / 1.168 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.767e-05/0.7081, allocations: 153.6 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7081, allocations: 3.938 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.7081, allocations: 4 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7081, allocations: 3.938 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.7081, allocations: 7.984 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.7081, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7081, allocations: 3.938 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.956e-05/0.7082, allocations: 70.02 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.7083, allocations: 81.11 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.7083, allocations: 3.938 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.7083, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.7083, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.7084, allocations: 7.938 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.7084, allocations: 87.3 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7084, allocations: 0 / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001764/0.7086, allocations: 0 / 1.169 GB, free: 0.6211 MB / 0.8887 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.0003269/0.7089, allocations: 0.6066 MB / 1.169 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.709, allocations: 15.94 kB / 1.169 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.709, allocations: 0 / 1.169 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-06/0.709, allocations: 4 kB / 1.169 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.7091, allocations: 10.75 kB / 1.169 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.7094, allocations: 115.4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.7096, allocations: 0.677 MB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.7097, allocations: 3.938 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.7097, allocations: 7.438 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.7097, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.7236, allocations: 0.9234 MB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.71, allocations: 5.359 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_10_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches