Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_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.004804/0.004804, allocations: 101 kB / 15.73 MB, free: 6.035 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.001116/0.001116, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 62.36 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2392, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001519/0.2408, allocations: 0.5235 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.2409, allocations: 11.92 kB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.241, allocations: 4 kB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.241, allocations: 0 / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2412, allocations: 19.91 kB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.2412, allocations: 0 / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.2412, allocations: 4 kB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.2413, allocations: 0 / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.2413, allocations: 0 / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.2414, allocations: 7.938 kB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.2414, allocations: 0 / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-06/0.2414, allocations: 0 / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.2414, allocations: 4 kB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.2414, allocations: 0 / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.294e-05/0.2415, allocations: 11.97 kB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2415, allocations: 0 / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2415, allocations: 0 / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2415, allocations: 0 / 1.088 GB, free: 1.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002725/0.2418, allocations: 311.6 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2418, allocations: 8.031 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.2419, allocations: 34.69 kB / 1.088 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.2419, allocations: 12.86 kB / 1.088 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.242, allocations: 168.4 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.242, allocations: 384 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.242, allocations: 384 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.162e-05/0.2421, allocations: 43.98 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2421, allocations: 3.938 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2422, allocations: 0 / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2422, allocations: 0 / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.2422, allocations: 15.92 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.2423, allocations: 154.6 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.2424, allocations: 33.25 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.2424, allocations: 17.66 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2425, allocations: 3.984 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2425, allocations: 42.97 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2425, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.2426, allocations: 41.58 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.2427, allocations: 77.11 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.2427, allocations: 105.8 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2428, allocations: 25.7 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.2428, allocations: 84.52 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2428, allocations: 6.719 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.2429, allocations: 13.72 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.243, allocations: 314.8 kB / 1.089 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.243, allocations: 0 / 1.089 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.243, allocations: 17.7 kB / 1.089 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.243, allocations: 21.72 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2431, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.13e-05/0.2431, allocations: 45.64 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2431, allocations: 7.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2431, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2432, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.2432, allocations: 7.984 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2432, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.2433, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2433, allocations: 8.062 kB / 1.09 GB, free: 15.55 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 6.287e-05/0.2433, allocations: 109.8 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.2434, allocations: 11.78 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.549e-05/0.2435, allocations: 52.75 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2435, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2435, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2435, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.073e-05/0.2436, allocations: 157.7 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2436, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.2436, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2436, allocations: 3.938 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.2436, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2436, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2436, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.644e-05/0.2437, allocations: 73.92 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.2438, allocations: 77.11 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.2438, allocations: 3.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.2438, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.2438, allocations: 3.984 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2438, allocations: 4 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.2439, allocations: 79.28 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2439, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001767/0.2441, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 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.0003013/0.2444, allocations: 0.6094 MB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.015e-05/0.2444, allocations: 12 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2445, allocations: 4.156 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.2445, allocations: 7.938 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.2446, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.2449, allocations: 119.6 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2451, allocations: 0.6768 MB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.644e-05/0.2451, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.2451, allocations: 7.438 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.2452, allocations: 4.125 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.26, allocations: 0.9167 MB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.142/7.402, allocations: 7.969 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches