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.001322/0.001326, allocations: 108 kB / 15.61 MB, free: 152 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.001372/0.001372, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.559/2.559, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5829, allocations: 151.6 MB / 1.017 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00156/0.5845, allocations: 0.5249 MB / 1.018 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.5846, allocations: 15.91 kB / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.5846, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.5846, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.5848, allocations: 3.938 kB / 1.018 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.5848, allocations: 0 / 1.018 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.5848, allocations: 8 kB / 1.018 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.5849, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.5849, allocations: 7.984 kB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.5849, allocations: 3.984 kB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.5849, allocations: 4 kB / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.585, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.585, allocations: 3.938 kB / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.585, allocations: 7.938 kB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.311e-05/0.585, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.585, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.585, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.585, allocations: 0 / 1.018 GB, free: 2.043 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002401/0.5853, allocations: 319.5 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.5853, allocations: 16.02 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.5854, allocations: 34.75 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.823e-05/0.5854, allocations: 4.875 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.883e-05/0.5855, allocations: 160.4 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.5855, allocations: 384 / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-06/0.5855, allocations: 384 / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.768e-05/0.5856, allocations: 43.97 kB / 1.019 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5856, allocations: 7.875 kB / 1.019 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5856, allocations: 7.984 kB / 1.019 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.5856, allocations: 7.938 kB / 1.019 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.5857, allocations: 4 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.5858, allocations: 154.5 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.5858, allocations: 37.22 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.5859, allocations: 13.7 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5859, allocations: 8.062 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.5859, allocations: 34.56 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.5859, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001229/0.5861, allocations: 41.58 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5861, allocations: 85.09 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.5862, allocations: 98.11 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.5862, allocations: 25.7 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.5862, allocations: 80.14 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.5862, allocations: 10.28 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.5863, allocations: 13.72 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.5864, allocations: 310.8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.5864, allocations: 8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.5864, allocations: 17.77 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.5864, allocations: 17.78 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5864, allocations: 8 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.056e-05/0.5865, allocations: 41.64 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.5865, allocations: 7.938 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5865, allocations: 3.984 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.5865, allocations: 0 / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.5866, allocations: 4 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5866, allocations: 4.062 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.5866, allocations: 4 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.5866, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 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.321e-05/0.5867, allocations: 107.4 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.5867, allocations: 7.938 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.5868, allocations: 48.8 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.5868, allocations: 64 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5868, allocations: 4 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.5869, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.109e-05/0.5869, allocations: 153.6 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5869, allocations: 3.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.587, allocations: 7.938 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.587, allocations: 3.938 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.587, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.587, allocations: 7.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.587, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.871e-05/0.5871, allocations: 69.98 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.5871, allocations: 81.02 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.5871, allocations: 11.92 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.5872, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/0.5872, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.5872, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.998e-05/0.5872, allocations: 87.31 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5872, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000189/0.5874, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 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.000296/0.5877, allocations: 0.6053 MB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.615e-05/0.5878, allocations: 20.06 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5878, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.5878, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.588, allocations: 7.984 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.5882, allocations: 111.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.5884, allocations: 0.6768 MB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.512e-05/0.5884, allocations: 4.25 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.5885, allocations: 11.44 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5885, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.6037, allocations: 0.8905 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.747, allocations: 24.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 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