Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",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.00876/0.008759, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.002351/0.002351, allocations: 192 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.131/2.131, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 4.225/4.225, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003186/0.003187, allocations: 67.89 kB / 1.018 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.482, allocations: 151.6 MB / 1.166 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 1.401/1.883, allocations: 149 MB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002633/1.886, allocations: 1.125 MB / 1.313 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/1.886, allocations: 2.688 kB / 1.313 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005975/1.887, allocations: 55.97 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/1.889, allocations: 307.1 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/1.89, allocations: 164.3 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008313/1.891, allocations: 225.8 kB / 1.314 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/1.891, allocations: 62.52 kB / 1.314 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/1.891, allocations: 48.16 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/1.891, allocations: 62.5 kB / 1.314 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/1.891, allocations: 11.78 kB / 1.314 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/1.892, allocations: 365.3 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/1.893, allocations: 29.42 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/1.893, allocations: 67.25 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008105/1.893, allocations: 292.7 kB / 1.314 GB, free: 12.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.893, allocations: 1 kB / 1.314 GB, free: 12.03 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/1.894, allocations: 0 / 1.314 GB, free: 12.03 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.704e-06/1.894, allocations: 0 / 1.314 GB, free: 12.03 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001016/1.895, allocations: 475.7 kB / 1.315 GB, free: 11.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/1.895, allocations: 13.31 kB / 1.315 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.702e-05/1.895, allocations: 47.39 kB / 1.315 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004366/1.895, allocations: 36.56 kB / 1.315 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/1.896, allocations: 207.6 kB / 1.315 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/1.896, allocations: 15.06 kB / 1.315 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/1.896, allocations: 10.12 kB / 1.315 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/1.896, allocations: 120.2 kB / 1.315 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/1.896, allocations: 4.969 kB / 1.315 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.896, allocations: 4.094 kB / 1.315 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.896, allocations: 2.156 kB / 1.315 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/1.897, allocations: 92.27 kB / 1.315 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/1.898, allocations: 457.2 kB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/1.898, allocations: 92.62 kB / 1.316 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/1.898, allocations: 40.11 kB / 1.316 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/1.898, allocations: 8.219 kB / 1.316 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/1.898, allocations: 36 kB / 1.316 GB, free: 10.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/1.899, allocations: 0 / 1.316 GB, free: 10.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0007279/1.899, allocations: 132.3 kB / 1.316 GB, free: 10.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.899, allocations: 53.33 kB / 1.316 GB, free: 10.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/1.9, allocations: 187.4 kB / 1.316 GB, free: 10.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/1.9, allocations: 34.73 kB / 1.316 GB, free: 10.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/1.9, allocations: 116 kB / 1.316 GB, free: 10.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/1.9, allocations: 19.84 kB / 1.317 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/1.9, allocations: 20 kB / 1.317 GB, free: 10.56 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002141/1.9, allocations: 330.1 kB / 1.317 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1.9, allocations: 31.59 kB / 1.317 GB, free: 10.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.901, allocations: 34.62 kB / 1.317 GB, free: 10.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/1.901, allocations: 75.52 kB / 1.317 GB, free: 10.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.901, allocations: 0 / 1.317 GB, free: 10.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004682/1.901, allocations: 118.6 kB / 1.317 GB, free: 10.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.901, allocations: 5.438 kB / 1.317 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.901, allocations: 0.6562 kB / 1.317 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.901, allocations: 1.344 kB / 1.317 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.902, allocations: 27.7 kB / 1.317 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/1.902, allocations: 0.875 kB / 1.317 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/1.902, allocations: 23.34 kB / 1.317 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/1.902, allocations: 1.062 kB / 1.317 GB, free: 10.17 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 0.0001566/1.902, allocations: 124.4 kB / 1.317 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/1.902, allocations: 9.547 kB / 1.317 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/1.903, allocations: 129.9 kB / 1.317 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.903, allocations: 5.781 kB / 1.317 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.903, allocations: 5 kB / 1.317 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.903, allocations: 0.7031 kB / 1.317 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/1.903, allocations: 220.9 kB / 1.318 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.903, allocations: 0.75 kB / 1.318 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/1.903, allocations: 16.73 kB / 1.318 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/1.903, allocations: 1.094 kB / 1.318 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/1.903, allocations: 3.375 kB / 1.318 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.903, allocations: 1.984 kB / 1.318 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.903, allocations: 0 / 1.318 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/1.904, allocations: 219.7 kB / 1.318 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.904, allocations: 94.19 kB / 1.318 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/1.904, allocations: 5.234 kB / 1.318 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/1.904, allocations: 6.125 kB / 1.318 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/1.904, allocations: 6.141 kB / 1.318 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/1.905, allocations: 5.062 kB / 1.318 GB, free: 9.551 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002177/1.905, allocations: 135.4 kB / 1.318 GB, free: 9.477 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.81e-07/1.905, allocations: 0.875 kB / 1.318 GB, free: 9.477 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004544/1.905, allocations: 18.83 kB / 1.318 GB, free: 9.477 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.00112/1.906, allocations: 0.7502 MB / 1.319 GB, free: 8.805 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004808/1.907, allocations: 78.66 kB / 1.319 GB, free: 8.801 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.907, allocations: 0 / 1.319 GB, free: 8.801 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/1.907, allocations: 40.16 kB / 1.319 GB, free: 8.801 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/1.908, allocations: 39.84 kB / 1.319 GB, free: 8.793 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/1.912, allocations: 1.755 MB / 1.321 GB, free: 7.562 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/1.912, allocations: 0.7164 MB / 1.321 GB, free: 6.859 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001395/1.912, allocations: 13.78 kB / 1.321 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.912, allocations: 38.02 kB / 1.321 GB, free: 6.848 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.912, allocations: 0 / 1.321 GB, free: 6.848 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07278/1.985, allocations: 3.197 MB / 1.325 GB, free: 6.371 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/15.27, allocations: 4.906 kB / 1.325 GB, free: 6.367 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches