Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000822/0.000822, 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.0007589/0.0007589, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8825/0.8825, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.657/1.657, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.985e-05, allocations: 2.281 kB / 0.981 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4682/0.4682, allocations: 70.54 MB / 1.05 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.4875, allocations: 17.62 MB / 1.067 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003819/0.4913, allocations: 159.1 kB / 1.067 GB, free: 8.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003483/0.4948, allocations: 1.244 MB / 1.068 GB, free: 8.031 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.009865/0.5047, allocations: 4 MB / 1.072 GB, free: 5.648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.5095, allocations: 2.229 MB / 1.075 GB, free: 4.406 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.008696/0.5182, allocations: 6.868 MB / 1.081 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.521, allocations: 1.595 MB / 1.083 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008737/0.5298, allocations: 3.579 MB / 1.086 GB, free: 14.47 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/0.5332, allocations: 1.57 MB / 1.088 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005889/0.5338, allocations: 199.3 kB / 1.088 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003881/0.5377, allocations: 1.352 MB / 1.089 GB, free: 13.44 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009079/0.5386, allocations: 0.5886 MB / 1.09 GB, free: 13.06 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.5407, allocations: 0.8536 MB / 1.091 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.006458/0.5471, allocations: 3.803 MB / 1.094 GB, free: 11.33 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5471, allocations: 0 / 1.094 GB, free: 11.33 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5471, allocations: 0 / 1.094 GB, free: 11.33 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.5e-05/0.5472, allocations: 5.125 kB / 1.094 GB, free: 11.33 MB / 0.948 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.004513/0.5517, allocations: 2.695 MB / 1.097 GB, free: 9.617 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.5518, allocations: 12.72 kB / 1.097 GB, free: 9.613 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002339/0.552, allocations: 205.5 kB / 1.097 GB, free: 9.484 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.5527, allocations: 281 kB / 1.098 GB, free: 9.348 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.5556, allocations: 1.997 MB / 1.1 GB, free: 8.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.5556, allocations: 109.5 kB / 1.1 GB, free: 8.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.5558, allocations: 147.2 kB / 1.1 GB, free: 8.129 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.5579, allocations: 1.82 MB / 1.102 GB, free: 7.047 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.5579, allocations: 6.344 kB / 1.102 GB, free: 7.043 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/0.558, allocations: 57.09 kB / 1.102 GB, free: 7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.5581, allocations: 39.67 kB / 1.102 GB, free: 7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.5598, allocations: 1.122 MB / 1.103 GB, free: 6.605 MB / 0.948 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.005875/0.5657, allocations: 5.329 MB / 1.108 GB, free: 3.156 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/0.5665, allocations: 450.4 kB / 1.108 GB, free: 2.961 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.5669, allocations: 306.4 kB / 1.109 GB, free: 2.812 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.5671, allocations: 107.5 kB / 1.109 GB, free: 2.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.5672, allocations: 40.19 kB / 1.109 GB, free: 2.727 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.386e-06/0.5672, allocations: 4 kB / 1.109 GB, free: 2.723 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.001706/0.5689, allocations: 0.9758 MB / 1.11 GB, free: 2.242 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5689, allocations: 58.38 kB / 1.11 GB, free: 2.176 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.5708, allocations: 1.837 MB / 1.112 GB, free: 1.156 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.5709, allocations: 43.23 kB / 1.112 GB, free: 1.113 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005778/0.5715, allocations: 0.9491 MB / 1.113 GB, free: 280 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.5717, allocations: 231.6 kB / 1.113 GB, free: 76 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.5719, allocations: 226.6 kB / 1.113 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.572, allocations: 344.2 kB / 1.113 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.5725, allocations: 334.4 kB / 1.114 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.5732, allocations: 0.9706 MB / 1.115 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.5743, allocations: 1.011 MB / 1.116 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5743, allocations: 2.875 kB / 1.116 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001825/0.5761, allocations: 1.238 MB / 1.117 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5761, allocations: 9.5 kB / 1.117 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.5761, allocations: 9.719 kB / 1.117 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.5762, allocations: 15.59 kB / 1.117 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.5767, allocations: 289.3 kB / 1.117 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.5768, allocations: 26.73 kB / 1.117 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.578, allocations: 165.7 kB / 1.117 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.578, allocations: 52.31 kB / 1.117 GB, free: 12.89 MB / 0.9636 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.0007451/0.5788, allocations: 443.3 kB / 1.118 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.5791, allocations: 205.7 kB / 1.118 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.5803, allocations: 0.8745 MB / 1.119 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5803, allocations: 7.031 kB / 1.119 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5803, allocations: 4 kB / 1.119 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009368/0.5813, allocations: 0.8002 MB / 1.12 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.5842, allocations: 2.242 MB / 1.122 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.5842, allocations: 2.5 kB / 1.122 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.5846, allocations: 185 kB / 1.122 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.5846, allocations: 6 kB / 1.122 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.5847, allocations: 17.94 kB / 1.122 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.5847, allocations: 13.3 kB / 1.122 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5847, allocations: 2.5 kB / 1.122 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.5863, allocations: 1.353 MB / 1.123 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/0.5869, allocations: 303.9 kB / 1.124 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.5871, allocations: 23.62 kB / 1.124 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.5876, allocations: 60.3 kB / 1.124 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.5877, allocations: 55.59 kB / 1.124 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.5877, allocations: 38.44 kB / 1.124 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001209/0.5889, allocations: 1.251 MB / 1.125 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5889, allocations: 0 / 1.125 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001725/0.5907, allocations: 0.6656 MB / 1.126 GB, free: 7.926 MB / 0.9636 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.002503/0.5932, allocations: 2.41 MB / 1.128 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.5943, allocations: 0.7809 MB / 1.129 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5943, allocations: 0 / 1.129 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.5947, allocations: 341.9 kB / 1.129 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/0.5978, allocations: 1.202 MB / 1.13 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.613, allocations: 12.67 MB / 1.143 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.6135, allocations: 0.836 MB / 1.143 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001202/0.6147, allocations: 389.9 kB / 1.144 GB, free: 9.73 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006857/0.6154, allocations: 0.7737 MB / 1.145 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of SimCode: time 1.262e-06/0.6154, allocations: 4 kB / 1.145 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07212/0.6875, allocations: 63.26 MB / 1.206 GB, free: 10.91 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.705, allocations: 7.234 kB / 1.206 GB, free: 10.91 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.69200196582824]