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.001897/0.001897, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002005/0.002005, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.535/1.535, allocations: 177.1 MB / 203.9 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 178] 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 3.041/3.041, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.706e-05, allocations: 5.125 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1024/0.1024, allocations: 79.98 MB / 0.8889 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.03466/0.1371, allocations: 19.44 MB / 0.9079 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.1408, allocations: 154.7 kB / 0.9081 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004341/0.1452, allocations: 1.249 MB / 0.9093 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.1569, allocations: 3.99 MB / 0.9132 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005895/0.1628, allocations: 2.206 MB / 0.9153 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.1734, allocations: 6.885 MB / 0.9221 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003184/0.1765, allocations: 1.654 MB / 0.9237 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008443/0.185, allocations: 3.62 MB / 0.9272 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.1883, allocations: 1.589 MB / 0.9288 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.1887, allocations: 200 kB / 0.929 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.1925, allocations: 1.356 MB / 0.9303 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.1936, allocations: 0.5913 MB / 0.9309 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.1951, allocations: 0.8651 MB / 0.9317 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.006326/0.2014, allocations: 3.817 MB / 0.9354 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2014, allocations: 0 / 0.9354 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2014, allocations: 0 / 0.9354 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.84e-05/0.2015, allocations: 0 / 0.9354 GB, free: 2.117 MB / 0.8855 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.005346/0.2068, allocations: 3.021 MB / 0.9384 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2068, allocations: 12.03 kB / 0.9384 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009846/0.2078, allocations: 411 kB / 0.9388 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.212, allocations: 2.034 MB / 0.9408 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.2121, allocations: 106.7 kB / 0.9409 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.2124, allocations: 156 kB / 0.941 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.2157, allocations: 1.89 MB / 0.9429 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.2158, allocations: 4 kB / 0.9429 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.2159, allocations: 56 kB / 0.9429 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.555e-05/0.216, allocations: 39.94 kB / 0.943 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.2182, allocations: 0.982 MB / 0.9439 GB, free: 9.125 MB / 0.9011 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.0117/0.2298, allocations: 7.755 MB / 0.9515 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.2308, allocations: 403.7 kB / 0.9519 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/0.2313, allocations: 253 kB / 0.9521 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/0.2317, allocations: 116.4 kB / 0.9522 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.2318, allocations: 45.88 kB / 0.9523 GB, free: 204 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=59): time 2.285e-06/0.2318, allocations: 4 kB / 0.9523 GB, free: 200 kB / 0.9011 GB Notification: Performance of matching and sorting (n=59): time 0.002087/0.2339, allocations: 0.7811 MB / 0.953 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.234, allocations: 59.91 kB / 0.9531 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.2369, allocations: 1.957 MB / 0.955 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.237, allocations: 45.7 kB / 0.9551 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.2384, allocations: 1.147 MB / 0.9562 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.2388, allocations: 254.1 kB / 0.9564 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/0.2393, allocations: 280.5 kB / 0.9567 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004968/0.2398, allocations: 0.5551 MB / 0.9572 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/0.2404, allocations: 246.5 kB / 0.9575 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.2422, allocations: 1.061 MB / 0.9585 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.2439, allocations: 1.039 MB / 0.9595 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.2439, allocations: 0 / 0.9595 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002321/0.2462, allocations: 1.101 MB / 0.9606 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.2463, allocations: 12 kB / 0.9606 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.2463, allocations: 8 kB / 0.9606 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/0.2463, allocations: 16.81 kB / 0.9606 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009751/0.2473, allocations: 267.5 kB / 0.9609 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/0.2473, allocations: 27.86 kB / 0.9609 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.2484, allocations: 111.3 kB / 0.961 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.2485, allocations: 55.98 kB / 0.9611 GB, free: 6.664 MB / 0.9167 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.0008802/0.2493, allocations: 452.2 kB / 0.9615 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.2497, allocations: 206.8 kB / 0.9617 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.2514, allocations: 0.6929 MB / 0.9624 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.2514, allocations: 8 kB / 0.9624 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2514, allocations: 0 / 0.9624 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/0.2526, allocations: 0.6418 MB / 0.963 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.2576, allocations: 2.42 MB / 0.9654 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.2576, allocations: 7.938 kB / 0.9654 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.2583, allocations: 148.1 kB / 0.9655 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.2583, allocations: 4 kB / 0.9655 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.2583, allocations: 23.98 kB / 0.9655 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.2583, allocations: 4 kB / 0.9655 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.2583, allocations: 11.88 kB / 0.9656 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.2606, allocations: 1.163 MB / 0.9667 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/0.2613, allocations: 262.6 kB / 0.9669 GB, free: 452 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.2615, allocations: 16 kB / 0.967 GB, free: 436 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/0.2623, allocations: 43.89 kB / 0.967 GB, free: 392 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.2624, allocations: 52.41 kB / 0.967 GB, free: 340 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/0.2625, allocations: 39.95 kB / 0.9671 GB, free: 300 kB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001795/0.2643, allocations: 1.126 MB / 0.9682 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2643, allocations: 0 / 0.9682 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002002/0.2663, allocations: 0.6935 MB / 0.9689 GB, free: 14.48 MB / 0.9323 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.001183/0.2675, allocations: 0.6012 MB / 0.9695 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.2691, allocations: 0.7085 MB / 0.9701 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.2692, allocations: 9.625 kB / 0.9702 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006507/0.2698, allocations: 296.1 kB / 0.9704 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/0.2748, allocations: 0.9521 MB / 0.9714 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.2814, allocations: 2.981 MB / 0.9743 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.2825, allocations: 0.823 MB / 0.9751 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0014/0.2839, allocations: 312.6 kB / 0.9754 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.2842, allocations: 136.5 kB / 0.9755 GB, free: 7.57 MB / 0.9323 GB Notification: Performance of SimCode: time 2.365e-06/0.2842, allocations: 0 / 0.9755 GB, free: 7.57 MB / 0.9323 GB Notification: Performance of Templates: time 0.07265/0.3569, allocations: 36.55 MB / 1.011 GB, free: 3.805 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] 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: 9.556763238972053]