Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008444/0.0008444, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008858/0.0008858, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8587/0.8587, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.715/1.715, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.358e-05, allocations: 10.22 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4836/0.4836, allocations: 70.5 MB / 1.069 GB, free: 43.6 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.5011, allocations: 17.58 MB / 1.086 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.5046, allocations: 153.6 kB / 1.086 GB, free: 33.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.507, allocations: 1.253 MB / 1.087 GB, free: 32.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.007015/0.514, allocations: 3.977 MB / 1.091 GB, free: 30.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003695/0.5177, allocations: 2.204 MB / 1.093 GB, free: 28.81 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.007088/0.5248, allocations: 6.798 MB / 1.1 GB, free: 25.42 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.5271, allocations: 1.516 MB / 1.101 GB, free: 24.61 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006776/0.5339, allocations: 3.555 MB / 1.105 GB, free: 22.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.5369, allocations: 1.558 MB / 1.106 GB, free: 22.42 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004564/0.5374, allocations: 199.3 kB / 1.106 GB, free: 22.42 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.5406, allocations: 1.356 MB / 1.108 GB, free: 21.93 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.5411, allocations: 0.5899 MB / 1.108 GB, free: 21.55 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.5426, allocations: 0.848 MB / 1.109 GB, free: 21.19 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007541/0.5501, allocations: 3.799 MB / 1.113 GB, free: 19.82 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5501, allocations: 0 / 1.113 GB, free: 19.82 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5501, allocations: 0 / 1.113 GB, free: 19.82 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.039e-05/0.5502, allocations: 0 / 1.113 GB, free: 19.82 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004132/0.5543, allocations: 2.69 MB / 1.115 GB, free: 18.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5544, allocations: 13.84 kB / 1.115 GB, free: 18.11 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.5546, allocations: 202.8 kB / 1.116 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/0.5552, allocations: 278.9 kB / 1.116 GB, free: 17.85 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.5578, allocations: 1.967 MB / 1.118 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.5578, allocations: 105.7 kB / 1.118 GB, free: 16.72 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.558, allocations: 143.3 kB / 1.118 GB, free: 16.67 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.5599, allocations: 1.821 MB / 1.12 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.5599, allocations: 2.5 kB / 1.12 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.56, allocations: 57.28 kB / 1.12 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.5601, allocations: 43.16 kB / 1.12 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.5615, allocations: 1.126 MB / 1.121 GB, free: 15.14 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005564/0.5671, allocations: 5.331 MB / 1.126 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.5677, allocations: 449.1 kB / 1.127 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.5681, allocations: 311.9 kB / 1.127 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.5684, allocations: 111.5 kB / 1.127 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.5684, allocations: 44.69 kB / 1.127 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=59): time 3.106e-06/0.5684, allocations: 0 / 1.127 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=59): time 0.001558/0.57, allocations: 0.9747 MB / 1.128 GB, free: 11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.57, allocations: 57.97 kB / 1.128 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.5719, allocations: 1.819 MB / 1.13 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.5719, allocations: 39.7 kB / 1.13 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.5724, allocations: 0.944 MB / 1.131 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.5726, allocations: 228.9 kB / 1.131 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.5728, allocations: 224.4 kB / 1.131 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.5729, allocations: 356.8 kB / 1.132 GB, free: 8.789 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.5733, allocations: 330.1 kB / 1.132 GB, free: 8.688 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.5739, allocations: 0.9694 MB / 1.133 GB, free: 7.801 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.575, allocations: 1.016 MB / 1.134 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.575, allocations: 2.656 kB / 1.134 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001591/0.5765, allocations: 1.226 MB / 1.135 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.5766, allocations: 9.219 kB / 1.135 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.5766, allocations: 10.2 kB / 1.135 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.5766, allocations: 17.34 kB / 1.135 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.5772, allocations: 292 kB / 1.135 GB, free: 6.582 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.5772, allocations: 22.08 kB / 1.135 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/0.5782, allocations: 165.5 kB / 1.136 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.5783, allocations: 50.17 kB / 1.136 GB, free: 6.477 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0006107/0.5789, allocations: 439.5 kB / 1.136 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.5791, allocations: 210.2 kB / 1.136 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.5803, allocations: 0.8766 MB / 1.137 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.5804, allocations: 6.297 kB / 1.137 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5804, allocations: 4.969 kB / 1.137 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000827/0.5812, allocations: 0.8058 MB / 1.138 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.5842, allocations: 2.237 MB / 1.14 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5842, allocations: 1.812 kB / 1.14 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.5846, allocations: 184.5 kB / 1.14 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.5846, allocations: 3.438 kB / 1.14 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.5847, allocations: 21.58 kB / 1.14 GB, free: 4.188 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.5847, allocations: 9.672 kB / 1.14 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5847, allocations: 3.062 kB / 1.14 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.5862, allocations: 1.351 MB / 1.142 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.5868, allocations: 296.1 kB / 1.142 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5869, allocations: 19.34 kB / 1.142 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.5875, allocations: 74.42 kB / 1.142 GB, free: 3.324 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5876, allocations: 51.11 kB / 1.142 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.5876, allocations: 39.05 kB / 1.142 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00135/0.589, allocations: 1.248 MB / 1.143 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.589, allocations: 1.312 kB / 1.143 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001612/0.5906, allocations: 0.6633 MB / 1.144 GB, free: 2.656 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002497/0.5931, allocations: 2.419 MB / 1.146 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.5943, allocations: 0.7833 MB / 1.147 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5943, allocations: 1.156 kB / 1.147 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.5947, allocations: 340.8 kB / 1.147 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/0.598, allocations: 1.172 MB / 1.149 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.6172, allocations: 12.62 MB / 1.161 GB, free: 10.35 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/0.618, allocations: 0.8356 MB / 1.162 GB, free: 10.13 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001717/0.6197, allocations: 374 kB / 1.162 GB, free: 10.04 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007795/0.6205, allocations: 0.78 MB / 1.163 GB, free: 9.449 MB / 1.01 GB Notification: Performance of SimCode: time 1.162e-06/0.6205, allocations: 0 / 1.163 GB, free: 9.449 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06835/0.6889, allocations: 62.7 MB / 1.224 GB, free: 7.457 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.846, allocations: 3.938 kB / 1.224 GB, free: 7.453 MB / 1.057 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.934584975242615]