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.001731/0.001731, allocations: 108 kB / 15.61 MB, free: 148 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.002038/0.002038, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.268/2.268, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5406, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001506/0.5422, allocations: 0.5269 MB / 0.9502 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001365/0.5423, allocations: 41.42 kB / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.5424, allocations: 5.312 kB / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.5424, allocations: 0 / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.5425, allocations: 9.312 kB / 0.9503 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.101e-05/0.5426, allocations: 9.297 kB / 0.9503 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.163e-05/0.5426, allocations: 9.484 kB / 0.9503 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.5427, allocations: 5.375 kB / 0.9503 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.5427, allocations: 10.73 kB / 0.9503 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.5428, allocations: 8.062 kB / 0.9503 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.5428, allocations: 5.375 kB / 0.9503 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.5428, allocations: 1.375 kB / 0.9503 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.5429, allocations: 5.312 kB / 0.9503 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.5429, allocations: 9.297 kB / 0.9503 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.398e-05/0.5429, allocations: 12.11 kB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5429, allocations: 0 / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5429, allocations: 1.375 kB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.543, allocations: 0 / 0.9503 GB, free: 8.68 MB / 0.7169 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.0002735/0.5432, allocations: 328.7 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5433, allocations: 9.625 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.456e-05/0.5433, allocations: 34.75 kB / 0.9507 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.062e-05/0.5433, allocations: 6.219 kB / 0.9507 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.5434, allocations: 173.9 kB / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.5435, allocations: 4.312 kB / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.5435, allocations: 1.75 kB / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.538e-05/0.5435, allocations: 29.02 kB / 0.9509 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.5435, allocations: 3.938 kB / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.5436, allocations: 1.375 kB / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.5436, allocations: 0 / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.5436, allocations: 14.67 kB / 0.9509 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.018e-05/0.5437, allocations: 153.8 kB / 0.9511 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.818e-05/0.5437, allocations: 17.33 kB / 0.9511 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.5437, allocations: 11.59 kB / 0.9511 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.5438, allocations: 0 / 0.9511 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.5438, allocations: 39.92 kB / 0.9511 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.5438, allocations: 0 / 0.9511 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.5439, allocations: 51.59 kB / 0.9512 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.5439, allocations: 52.66 kB / 0.9512 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.544, allocations: 108.8 kB / 0.9513 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.544, allocations: 25.7 kB / 0.9514 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.881e-05/0.544, allocations: 85.52 kB / 0.9515 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.544, allocations: 3.906 kB / 0.9515 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.5441, allocations: 12.22 kB / 0.9515 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.366e-05/0.5441, allocations: 324.1 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.5441, allocations: 3.25 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.5441, allocations: 14.62 kB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.5442, allocations: 29.61 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5442, allocations: 4 kB / 0.9518 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.934e-05/0.5442, allocations: 45.44 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5443, allocations: 15.56 kB / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.5443, allocations: 0 / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.5443, allocations: 1.5 kB / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.5443, allocations: 6.188 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5444, allocations: 1.438 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.5444, allocations: 5.391 kB / 0.9519 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.5444, allocations: 1.344 kB / 0.9519 GB, free: 6.965 MB / 0.7169 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 3.809e-05/0.5444, allocations: 107 kB / 0.952 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.5445, allocations: 13.22 kB / 0.952 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.5445, allocations: 52.34 kB / 0.9521 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5446, allocations: 3.938 kB / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5446, allocations: 5.672 kB / 0.9521 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5446, allocations: 0 / 0.9521 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.28e-05/0.5446, allocations: 154.1 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5446, allocations: 1.312 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.5447, allocations: 6.906 kB / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5447, allocations: 3.938 kB / 0.9522 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.5447, allocations: 1.219 kB / 0.9522 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5447, allocations: 4.031 kB / 0.9522 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5447, allocations: 1.406 kB / 0.9522 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.154e-05/0.5448, allocations: 78.45 kB / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.5448, allocations: 82.39 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.5449, allocations: 5.281 kB / 0.9524 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.5449, allocations: 0 / 0.9524 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.5449, allocations: 5.391 kB / 0.9524 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.5449, allocations: 5.5 kB / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.5449, allocations: 86 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.545, allocations: 0 / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001799/0.5451, allocations: 3.188 kB / 0.9525 GB, free: 6.309 MB / 0.7169 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.000223/0.5454, allocations: 0.6136 MB / 0.9531 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.836e-05/0.5454, allocations: 20.89 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5455, allocations: 1.312 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.5455, allocations: 9.062 kB / 0.9531 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.5456, allocations: 9.234 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.5462, allocations: 1.152 MB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.5463, allocations: 0.6905 MB / 0.9549 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.5463, allocations: 1.156 kB / 0.9549 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.5464, allocations: 9.562 kB / 0.9549 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5464, allocations: 0 / 0.9549 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.5621, allocations: 1.159 MB / 0.9561 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/7.89, allocations: 7.516 kB / 0.9561 GB, free: 3.109 MB / 0.7169 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