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.001847/0.001847, allocations: 85.03 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002344/0.002344, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.486/1.486, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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 2.87/2.87, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 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.473e-06/1.473e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.807e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08178/0.08181, allocations: 70.56 MB / 1.05 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02783/0.1096, allocations: 17.62 MB / 1.068 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.1134, allocations: 158.6 kB / 1.068 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003399/0.1168, allocations: 1.249 MB / 1.069 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.1283, allocations: 3.997 MB / 1.073 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005846/0.1342, allocations: 2.224 MB / 1.075 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01097/0.1451, allocations: 6.875 MB / 1.082 GB, free: 4.957 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.1484, allocations: 1.575 MB / 1.083 GB, free: 3.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009153/0.1576, allocations: 3.585 MB / 1.087 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.1609, allocations: 1.561 MB / 1.088 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.1614, allocations: 200 kB / 1.088 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/0.1648, allocations: 1.352 MB / 1.09 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006832/0.1655, allocations: 0.5873 MB / 1.09 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.1669, allocations: 0.8456 MB / 1.091 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006175/0.1731, allocations: 3.805 MB / 1.095 GB, free: 7.383 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1731, allocations: 0 / 1.095 GB, free: 7.383 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1731, allocations: 0 / 1.095 GB, free: 7.383 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.192e-05/0.1732, allocations: 4 kB / 1.095 GB, free: 7.379 MB / 1.045 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.005031/0.1782, allocations: 2.699 MB / 1.098 GB, free: 4.629 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1783, allocations: 15.97 kB / 1.098 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.1792, allocations: 279.3 kB / 1.098 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.1829, allocations: 2.003 MB / 1.1 GB, free: 2.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.475e-05/0.183, allocations: 106.7 kB / 1.1 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.1832, allocations: 144 kB / 1.1 GB, free: 2.035 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.1863, allocations: 1.822 MB / 1.102 GB, free: 64 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.1863, allocations: 7.938 kB / 1.102 GB, free: 56 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1865, allocations: 56 kB / 1.102 GB, free: 0 / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/0.1866, allocations: 40.05 kB / 1.102 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.1891, allocations: 1.13 MB / 1.103 GB, free: 14.82 MB / 1.061 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.008049/0.1971, allocations: 5.09 MB / 1.108 GB, free: 9.594 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1982, allocations: 444.9 kB / 1.108 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.1989, allocations: 306.2 kB / 1.109 GB, free: 8.852 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004315/0.1993, allocations: 108.4 kB / 1.109 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.1994, allocations: 43.06 kB / 1.109 GB, free: 8.695 MB / 1.061 GB Notification: Performance of pre-optimization done (n=59): time 2.635e-06/0.1994, allocations: 0 / 1.109 GB, free: 8.695 MB / 1.061 GB Notification: Performance of matching and sorting (n=59): time 0.002538/0.2019, allocations: 0.9527 MB / 1.11 GB, free: 7.734 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.202, allocations: 55.91 kB / 1.11 GB, free: 7.668 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.2042, allocations: 1.564 MB / 1.111 GB, free: 6.105 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.2043, allocations: 45.7 kB / 1.111 GB, free: 6.055 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009902/0.2052, allocations: 0.9632 MB / 1.112 GB, free: 5.082 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.2055, allocations: 230.1 kB / 1.113 GB, free: 4.855 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.2058, allocations: 226.8 kB / 1.113 GB, free: 4.625 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.206, allocations: 341.9 kB / 1.113 GB, free: 4.285 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/0.2068, allocations: 330.4 kB / 1.113 GB, free: 3.965 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.2081, allocations: 0.9702 MB / 1.114 GB, free: 2.773 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.21, allocations: 1.013 MB / 1.115 GB, free: 1.625 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.21, allocations: 4 kB / 1.115 GB, free: 1.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002601/0.2126, allocations: 1.204 MB / 1.117 GB, free: 420 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.2126, allocations: 20.11 kB / 1.117 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.2126, allocations: 8 kB / 1.117 GB, free: 392 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.138e-05/0.2127, allocations: 16 kB / 1.117 GB, free: 376 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.2138, allocations: 287.5 kB / 1.117 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/0.2138, allocations: 19.94 kB / 1.117 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.215, allocations: 139.2 kB / 1.117 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.715e-05/0.2151, allocations: 55.98 kB / 1.117 GB, free: 15.88 MB / 1.076 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.0007628/0.2159, allocations: 439.4 kB / 1.117 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.2162, allocations: 178.8 kB / 1.118 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.2182, allocations: 0.8526 MB / 1.118 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.2182, allocations: 19.94 kB / 1.118 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2182, allocations: 0 / 1.118 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/0.2198, allocations: 0.8095 MB / 1.119 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.2241, allocations: 2.077 MB / 1.121 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2241, allocations: 4 kB / 1.121 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.225, allocations: 187.9 kB / 1.121 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.225, allocations: 4 kB / 1.121 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.225, allocations: 16 kB / 1.122 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.225, allocations: 4 kB / 1.122 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.225, allocations: 3.938 kB / 1.122 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.2278, allocations: 1.325 MB / 1.123 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/0.2284, allocations: 266.7 kB / 1.123 GB, free: 9.539 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.2286, allocations: 16 kB / 1.123 GB, free: 9.523 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.2297, allocations: 59.86 kB / 1.123 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.2298, allocations: 60.28 kB / 1.123 GB, free: 9.406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.2299, allocations: 35.97 kB / 1.123 GB, free: 9.371 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001817/0.2317, allocations: 1.025 MB / 1.124 GB, free: 8.355 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2317, allocations: 0 / 1.124 GB, free: 8.355 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002076/0.2338, allocations: 0.7013 MB / 1.125 GB, free: 7.652 MB / 1.076 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.001254/0.235, allocations: 0.6013 MB / 1.125 GB, free: 7.047 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.237, allocations: 0.7851 MB / 1.126 GB, free: 6.262 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.237, allocations: 0 / 1.126 GB, free: 6.262 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008394/0.2379, allocations: 343.2 kB / 1.127 GB, free: 5.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/0.2424, allocations: 0.913 MB / 1.127 GB, free: 5.047 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.2481, allocations: 3.003 MB / 1.13 GB, free: 1.977 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.2493, allocations: 0.8346 MB / 1.131 GB, free: 1.105 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001473/0.2507, allocations: 342.9 kB / 1.132 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.2511, allocations: 136.5 kB / 1.132 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of SimCode: time 1.603e-06/0.2511, allocations: 0 / 1.132 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of Templates: time 0.5628/0.8139, allocations: 36.22 MB / 1.167 GB, free: 182 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] 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: 10.18777497112751]