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.001924/0.001924, allocations: 81.42 kB / 19.18 MB, free: 2.531 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.002267/0.002267, allocations: 167.9 kB / 22.46 MB, free: 5.355 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.908/2.908, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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: 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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.728e-05, allocations: 6.219 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09028/0.09031, allocations: 70.53 MB / 1.069 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02998/0.1203, allocations: 17.56 MB / 1.086 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/0.1238, allocations: 150.7 kB / 1.086 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.1271, allocations: 1.249 MB / 1.088 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.1374, allocations: 3.986 MB / 1.091 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.143, allocations: 2.213 MB / 1.094 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01011/0.1531, allocations: 6.793 MB / 1.1 GB, free: 476 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00294/0.156, allocations: 1.53 MB / 1.102 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008619/0.1647, allocations: 3.545 MB / 1.105 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/0.1681, allocations: 1.557 MB / 1.107 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005095/0.1686, allocations: 196 kB / 1.107 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.1724, allocations: 1.36 MB / 1.108 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007507/0.1732, allocations: 0.5795 MB / 1.109 GB, free: 7.645 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.1751, allocations: 0.8495 MB / 1.11 GB, free: 6.793 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008966/0.1841, allocations: 3.794 MB / 1.113 GB, free: 2.988 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1841, allocations: 0 / 1.113 GB, free: 2.988 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.518e-06/0.1841, allocations: 4 kB / 1.113 GB, free: 2.984 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.755e-05/0.1842, allocations: 4 kB / 1.113 GB, free: 2.98 MB / 1.061 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.005922/0.1901, allocations: 2.689 MB / 1.116 GB, free: 248 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.1901, allocations: 12.03 kB / 1.116 GB, free: 236 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/0.1911, allocations: 275.4 kB / 1.116 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/0.1953, allocations: 1.974 MB / 1.118 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.1954, allocations: 106.7 kB / 1.118 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.1956, allocations: 140 kB / 1.118 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.1989, allocations: 1.819 MB / 1.12 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/0.1989, allocations: 11.89 kB / 1.12 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.1991, allocations: 56 kB / 1.12 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-05/0.1991, allocations: 51.97 kB / 1.12 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.2016, allocations: 1.115 MB / 1.121 GB, free: 10.49 MB / 1.076 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.008364/0.21, allocations: 5.097 MB / 1.126 GB, free: 5.262 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.211, allocations: 445.4 kB / 1.127 GB, free: 4.816 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.2117, allocations: 310.2 kB / 1.127 GB, free: 4.512 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.2121, allocations: 108.4 kB / 1.127 GB, free: 4.406 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.2122, allocations: 39.06 kB / 1.127 GB, free: 4.359 MB / 1.076 GB Notification: Performance of pre-optimization done (n=59): time 2.265e-06/0.2122, allocations: 3.938 kB / 1.127 GB, free: 4.355 MB / 1.076 GB Notification: Performance of matching and sorting (n=59): time 0.00248/0.2147, allocations: 0.9489 MB / 1.128 GB, free: 3.402 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2147, allocations: 55.91 kB / 1.128 GB, free: 3.336 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.2169, allocations: 1.555 MB / 1.13 GB, free: 1.781 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.2169, allocations: 37.7 kB / 1.13 GB, free: 1.738 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009008/0.2178, allocations: 0.967 MB / 1.131 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.2181, allocations: 230 kB / 1.131 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.2184, allocations: 218.8 kB / 1.131 GB, free: 320 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.5099/0.7283, allocations: 349.9 kB / 1.131 GB, free: 169 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009258/0.7292, allocations: 330.3 kB / 1.132 GB, free: 169 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008839/0.7301, allocations: 0.9663 MB / 1.133 GB, free: 168.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.7315, allocations: 1.013 MB / 1.134 GB, free: 167.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.7315, allocations: 5.812 kB / 1.134 GB, free: 167.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002166/0.7337, allocations: 1.207 MB / 1.135 GB, free: 167.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7337, allocations: 11.06 kB / 1.135 GB, free: 167.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.7337, allocations: 8.469 kB / 1.135 GB, free: 167.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.7337, allocations: 16.16 kB / 1.135 GB, free: 167.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/0.7347, allocations: 288.9 kB / 1.135 GB, free: 167.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.7348, allocations: 25.22 kB / 1.135 GB, free: 167.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.7358, allocations: 137.3 kB / 1.135 GB, free: 167.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.7359, allocations: 55.89 kB / 1.135 GB, free: 167.5 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.0006389/0.7366, allocations: 437.1 kB / 1.136 GB, free: 167.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.7368, allocations: 178.5 kB / 1.136 GB, free: 167.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.7385, allocations: 0.8527 MB / 1.137 GB, free: 166.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.7385, allocations: 11.89 kB / 1.137 GB, free: 166.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7386, allocations: 3.938 kB / 1.137 GB, free: 166.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.7398, allocations: 0.8041 MB / 1.138 GB, free: 166.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.743, allocations: 2.072 MB / 1.14 GB, free: 165.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.743, allocations: 6.75 kB / 1.14 GB, free: 165.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.7437, allocations: 181.8 kB / 1.14 GB, free: 165.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.7438, allocations: 2.656 kB / 1.14 GB, free: 165.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.7438, allocations: 19.53 kB / 1.14 GB, free: 165.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.7438, allocations: 5.688 kB / 1.14 GB, free: 165.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.7438, allocations: 6.812 kB / 1.14 GB, free: 165.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.746, allocations: 1.325 MB / 1.141 GB, free: 164.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.7465, allocations: 267.5 kB / 1.141 GB, free: 164.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.7466, allocations: 15.84 kB / 1.141 GB, free: 164.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.7476, allocations: 57.22 kB / 1.141 GB, free: 164.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.7477, allocations: 54.72 kB / 1.142 GB, free: 164.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.7477, allocations: 37.98 kB / 1.142 GB, free: 164.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001125/0.7489, allocations: 1.016 MB / 1.143 GB, free: 164.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7489, allocations: 0 / 1.143 GB, free: 164.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001632/0.7505, allocations: 0.7054 MB / 1.143 GB, free: 164.3 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.0008986/0.7514, allocations: 0.6039 MB / 1.144 GB, free: 164.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.7529, allocations: 0.7796 MB / 1.145 GB, free: 163.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7529, allocations: 2.688 kB / 1.145 GB, free: 163.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006517/0.7536, allocations: 341 kB / 1.145 GB, free: 163.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.7572, allocations: 0.8811 MB / 1.146 GB, free: 163.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.7609, allocations: 2.982 MB / 1.149 GB, free: 162.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.7615, allocations: 0.8331 MB / 1.15 GB, free: 161.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009573/0.7625, allocations: 324.2 kB / 1.15 GB, free: 161.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.7627, allocations: 138.9 kB / 1.15 GB, free: 161.8 MB / 1.076 GB Notification: Performance of SimCode: time 6.32e-07/0.7627, allocations: 0 / 1.15 GB, free: 161.8 MB / 1.076 GB Notification: Performance of Templates: time 0.05924/0.822, allocations: 35.76 MB / 1.185 GB, free: 155.7 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 800] 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: 10.175005447119474]