Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001302/0.001302, allocations: 115.5 kB / 16.42 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6772, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07373/0.751, allocations: 77.16 MB / 1.164 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02771/0.7788, allocations: 18.9 MB / 1.182 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.7829, allocations: 108.9 kB / 1.183 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.7866, allocations: 1.28 MB / 1.184 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.7967, allocations: 3.811 MB / 1.188 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00552/0.8023, allocations: 2.1 MB / 1.19 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008793/0.8111, allocations: 6.686 MB / 1.196 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/0.8143, allocations: 2.095 MB / 1.198 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005439/0.8198, allocations: 2.389 MB / 1.2 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.8233, allocations: 1.747 MB / 1.202 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006952/0.8241, allocations: 199.3 kB / 1.202 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004703/0.8288, allocations: 1.627 MB / 1.204 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008844/0.8297, allocations: 0.5348 MB / 1.204 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002981/0.8327, allocations: 1.251 MB / 1.206 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007785/0.8405, allocations: 3.726 MB / 1.209 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8405, allocations: 0 / 1.209 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.278e-06/0.8405, allocations: 1.188 kB / 1.209 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001235/0.8406, allocations: 7.875 kB / 1.209 GB, free: 14.7 MB / 0.9512 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.006599/0.8472, allocations: 2.705 MB / 1.212 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8473, allocations: 8.688 kB / 1.212 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009964/0.8483, allocations: 264 kB / 1.212 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.8523, allocations: 2.026 MB / 1.214 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.8524, allocations: 108.8 kB / 1.214 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.8526, allocations: 144.3 kB / 1.214 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.8555, allocations: 1.518 MB / 1.216 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.8555, allocations: 5.312 kB / 1.216 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.8557, allocations: 57.75 kB / 1.216 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.8557, allocations: 37.12 kB / 1.216 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.8581, allocations: 1.129 MB / 1.217 GB, free: 9.367 MB / 0.9512 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.01003/0.8681, allocations: 7.602 MB / 1.225 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/0.8691, allocations: 484.5 kB / 1.225 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.8697, allocations: 338.3 kB / 1.225 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007955/0.8705, allocations: 1.148 MB / 1.226 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.8706, allocations: 43.12 kB / 1.227 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 2.324e-06/0.8706, allocations: 0 / 1.227 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002276/0.8729, allocations: 0.9691 MB / 1.227 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.8729, allocations: 55.97 kB / 1.228 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.8752, allocations: 1.783 MB / 1.229 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/0.8753, allocations: 45.7 kB / 1.229 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007243/0.876, allocations: 0.9355 MB / 1.23 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.8762, allocations: 216.9 kB / 1.23 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.8765, allocations: 226.7 kB / 1.231 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8766, allocations: 349.9 kB / 1.231 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/0.8773, allocations: 330.4 kB / 1.231 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009367/0.8783, allocations: 0.686 MB / 1.232 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.8798, allocations: 1.012 MB / 1.233 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.8799, allocations: 4 kB / 1.233 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002249/0.8821, allocations: 1.218 MB / 1.234 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.8821, allocations: 8 kB / 1.234 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.8822, allocations: 12 kB / 1.234 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.8822, allocations: 16 kB / 1.234 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.8832, allocations: 291.5 kB / 1.234 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/0.8833, allocations: 28.08 kB / 1.234 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.8846, allocations: 158.4 kB / 1.235 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/0.8847, allocations: 52 kB / 1.235 GB, free: 6.965 MB / 0.9669 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.0006126/0.8853, allocations: 437.4 kB / 1.235 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.8857, allocations: 189.7 kB / 1.235 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.8874, allocations: 0.8686 MB / 1.236 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/0.8888, allocations: 0.7917 MB / 1.237 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8888, allocations: 0 / 1.237 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.8896, allocations: 358.5 kB / 1.237 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.8899, allocations: 19.92 kB / 1.237 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.891, allocations: 55.88 kB / 1.237 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.8911, allocations: 48.44 kB / 1.237 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002114/0.8932, allocations: 0.8733 MB / 1.238 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002394/0.8956, allocations: 1.392 MB / 1.24 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006169/0.8962, allocations: 340.3 kB / 1.24 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001928/0.8982, allocations: 1.203 MB / 1.241 GB, free: 296 kB / 0.9669 GB Notification: Performance of Backend: time 4.51e-07/0.8982, allocations: 0 / 1.241 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004527/0.9027, allocations: 1.25 MB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of SimCode: time 0.008433/0.9112, allocations: 4.302 MB / 1.246 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of Templates: time 0.06318/0.9744, allocations: 41.38 MB / 1.287 GB, free: 1.832 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches