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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001512/0.001512, 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.001731/0.001731, allocations: 196 kB / 16.79 MB, free: 6.809 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6297, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07391/0.7036, allocations: 76.68 MB / 1.024 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02826/0.7319, allocations: 18.95 MB / 1.043 GB, free: 2.234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005416/0.7374, allocations: 99.38 kB / 1.043 GB, free: 2.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004396/0.7419, allocations: 1.029 MB / 1.044 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.7527, allocations: 3.374 MB / 1.047 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005867/0.7586, allocations: 1.913 MB / 1.049 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01176/0.7703, allocations: 8.889 MB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.7737, allocations: 1.731 MB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/0.7788, allocations: 1.936 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00357/0.7824, allocations: 1.761 MB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007013/0.7831, allocations: 96 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.788, allocations: 1.469 MB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009782/0.789, allocations: 454 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002993/0.792, allocations: 1.139 MB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005303/0.7973, allocations: 2.861 MB / 1.069 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.7973, allocations: 0 / 1.069 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7974, allocations: 0 / 1.069 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001383/0.7975, allocations: 0 / 1.069 GB, free: 7.395 MB / 0.8262 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.006747/0.8043, allocations: 2.719 MB / 1.072 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8043, allocations: 12.03 kB / 1.072 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.8051, allocations: 266 kB / 1.072 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.809, allocations: 1.972 MB / 1.074 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.8092, allocations: 110.7 kB / 1.074 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.8095, allocations: 148 kB / 1.074 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.813, allocations: 1.512 MB / 1.076 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.813, allocations: 4 kB / 1.076 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.8132, allocations: 52 kB / 1.076 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.8132, allocations: 44 kB / 1.076 GB, free: 380 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.8157, allocations: 1.126 MB / 1.077 GB, free: 15.24 MB / 0.8419 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.009445/0.8251, allocations: 7.583 MB / 1.084 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.8262, allocations: 477.1 kB / 1.085 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/0.8269, allocations: 330.3 kB / 1.085 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009042/0.8278, allocations: 1.16 MB / 1.086 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.8278, allocations: 43.12 kB / 1.086 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.595e-06/0.8279, allocations: 0 / 1.086 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002496/0.8304, allocations: 0.9612 MB / 1.087 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.8304, allocations: 55.97 kB / 1.087 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.8334, allocations: 1.755 MB / 1.089 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.8335, allocations: 37.7 kB / 1.089 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008889/0.8344, allocations: 0.9317 MB / 1.09 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.8347, allocations: 220.9 kB / 1.09 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.835, allocations: 234.6 kB / 1.09 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8352, allocations: 349.9 kB / 1.091 GB, free: 196 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007371/0.8359, allocations: 334.4 kB / 1.091 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009862/0.8369, allocations: 0.686 MB / 1.092 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.8386, allocations: 1.012 MB / 1.093 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.8386, allocations: 4 kB / 1.093 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002487/0.8411, allocations: 1.218 MB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.8412, allocations: 9.25 kB / 1.094 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.8412, allocations: 8 kB / 1.094 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.8412, allocations: 16 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.8422, allocations: 299.9 kB / 1.094 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.8423, allocations: 15.94 kB / 1.094 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.8438, allocations: 230.5 kB / 1.094 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/0.8439, allocations: 55.98 kB / 1.094 GB, free: 12.02 MB / 0.8575 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.0007692/0.8447, allocations: 437.4 kB / 1.095 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.8451, allocations: 193.6 kB / 1.095 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.8469, allocations: 0.8717 MB / 1.096 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.8469, allocations: 8 kB / 1.096 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.847, allocations: 0 / 1.096 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/0.8483, allocations: 0.7957 MB / 1.097 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.8526, allocations: 2.431 MB / 1.099 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.8527, allocations: 11.92 kB / 1.099 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/0.8535, allocations: 171.8 kB / 1.099 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.8535, allocations: 7.984 kB / 1.099 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/0.8535, allocations: 16.12 kB / 1.099 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-05/0.8536, allocations: 11.94 kB / 1.099 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8536, allocations: 0 / 1.099 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.856, allocations: 1.339 MB / 1.101 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006836/0.8567, allocations: 366.4 kB / 1.101 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/0.8571, allocations: 15.94 kB / 1.101 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.8583, allocations: 115.7 kB / 1.101 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8584, allocations: 52.48 kB / 1.101 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/0.8585, allocations: 35.98 kB / 1.101 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001719/0.8602, allocations: 1.216 MB / 1.102 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8602, allocations: 0 / 1.102 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0018/0.862, allocations: 0.6473 MB / 1.103 GB, free: 3.07 MB / 0.8575 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.8632, allocations: 0.5872 MB / 1.103 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.865, allocations: 0.8048 MB / 1.104 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.865, allocations: 12 kB / 1.104 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.8657, allocations: 358.9 kB / 1.105 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00545/0.8712, allocations: 1.192 MB / 1.106 GB, free: 156 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.8765, allocations: 3.779 MB / 1.109 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.8775, allocations: 1.388 MB / 1.111 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/0.878, allocations: 163.3 kB / 1.111 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of SimCode: time 7.42e-07/0.878, allocations: 0 / 1.111 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.05411/0.9321, allocations: 34.67 MB / 1.145 GB, free: 8.355 MB / 0.9044 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