Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 200 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.6313, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07586/0.7072, allocations: 76.68 MB / 1.092 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0267/0.7339, allocations: 18.97 MB / 1.111 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.7382, allocations: 99.38 kB / 1.111 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.7421, allocations: 1.029 MB / 1.112 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.7524, allocations: 3.375 MB / 1.115 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005477/0.7579, allocations: 1.898 MB / 1.117 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.7682, allocations: 8.894 MB / 1.126 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.7716, allocations: 1.723 MB / 1.127 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004556/0.7762, allocations: 1.94 MB / 1.129 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003317/0.7795, allocations: 1.773 MB / 1.131 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007024/0.7802, allocations: 96 kB / 1.131 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.7849, allocations: 1.461 MB / 1.132 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009554/0.7858, allocations: 454 kB / 1.133 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002731/0.7886, allocations: 1.143 MB / 1.134 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004567/0.7932, allocations: 2.853 MB / 1.137 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.7932, allocations: 0 / 1.137 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7932, allocations: 3.938 kB / 1.137 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001336/0.7934, allocations: 0 / 1.137 GB, free: 8.012 MB / 0.8887 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.006352/0.7997, allocations: 2.707 MB / 1.139 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.7998, allocations: 12.03 kB / 1.139 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009884/0.8008, allocations: 262 kB / 1.14 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.8046, allocations: 1.982 MB / 1.142 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.8047, allocations: 106.7 kB / 1.142 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.8049, allocations: 144 kB / 1.142 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.8078, allocations: 1.512 MB / 1.143 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.8079, allocations: 7.906 kB / 1.143 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.808, allocations: 59.98 kB / 1.143 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.8081, allocations: 39.94 kB / 1.143 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.8103, allocations: 1.126 MB / 1.145 GB, free: 15.86 MB / 0.9044 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.008886/0.8192, allocations: 7.579 MB / 1.152 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/0.8202, allocations: 480.6 kB / 1.152 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.8209, allocations: 342.2 kB / 1.153 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008391/0.8217, allocations: 1.152 MB / 1.154 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.8218, allocations: 39.12 kB / 1.154 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 2.885e-06/0.8218, allocations: 4 kB / 1.154 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002325/0.8241, allocations: 0.9612 MB / 1.155 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.8242, allocations: 59.97 kB / 1.155 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.8267, allocations: 1.752 MB / 1.157 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.8269, allocations: 45.7 kB / 1.157 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007727/0.8277, allocations: 0.9277 MB / 1.158 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.8279, allocations: 224.9 kB / 1.158 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.8282, allocations: 230.7 kB / 1.158 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8284, allocations: 349.9 kB / 1.158 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.8291, allocations: 334.4 kB / 1.159 GB, free: 496 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009642/0.8301, allocations: 0.686 MB / 1.159 GB, free: 15.65 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.8317, allocations: 1.012 MB / 1.16 GB, free: 14.49 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.8317, allocations: 4 kB / 1.16 GB, free: 14.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002485/0.8342, allocations: 1.214 MB / 1.161 GB, free: 13.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.8342, allocations: 13.59 kB / 1.161 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.8343, allocations: 8 kB / 1.162 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.8343, allocations: 16 kB / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009887/0.8353, allocations: 287.6 kB / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.91e-05/0.8353, allocations: 23.92 kB / 1.162 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.837, allocations: 239.3 kB / 1.162 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.8371, allocations: 52 kB / 1.162 GB, free: 12.64 MB / 0.92 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.0008268/0.838, allocations: 445.3 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/0.8385, allocations: 189.7 kB / 1.163 GB, free: 12.01 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.8405, allocations: 0.8633 MB / 1.164 GB, free: 11.15 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.8405, allocations: 8 kB / 1.164 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.8405, allocations: 3.984 kB / 1.164 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/0.8418, allocations: 0.7956 MB / 1.164 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.8465, allocations: 2.424 MB / 1.167 GB, free: 7.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.8465, allocations: 11.88 kB / 1.167 GB, free: 7.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/0.8473, allocations: 188 kB / 1.167 GB, free: 7.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.8473, allocations: 4 kB / 1.167 GB, free: 7.57 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.8474, allocations: 19.98 kB / 1.167 GB, free: 7.551 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.8474, allocations: 4 kB / 1.167 GB, free: 7.547 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8474, allocations: 0 / 1.167 GB, free: 7.547 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.85, allocations: 1.339 MB / 1.168 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.8511, allocations: 370.4 kB / 1.169 GB, free: 5.785 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005357/0.8517, allocations: 15.98 kB / 1.169 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.8532, allocations: 111.7 kB / 1.169 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.8533, allocations: 52.5 kB / 1.169 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.8535, allocations: 35.97 kB / 1.169 GB, free: 5.574 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002416/0.8559, allocations: 1.22 MB / 1.17 GB, free: 4.336 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8559, allocations: 0 / 1.17 GB, free: 4.336 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002599/0.8585, allocations: 0.6395 MB / 1.171 GB, free: 3.695 MB / 0.92 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.001632/0.8602, allocations: 0.5773 MB / 1.171 GB, free: 3.117 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.8622, allocations: 0.8153 MB / 1.172 GB, free: 2.301 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.8622, allocations: 5.25 kB / 1.172 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007705/0.863, allocations: 355.4 kB / 1.172 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006776/0.8698, allocations: 1.2 MB / 1.173 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0067/0.8765, allocations: 3.79 MB / 1.177 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.8779, allocations: 1.384 MB / 1.179 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.8784, allocations: 151.4 kB / 1.179 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/0.8784, allocations: 0 / 1.179 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.05188/0.9303, allocations: 34.68 MB / 1.213 GB, free: 8.973 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches