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.001288/0.001288, allocations: 100.6 kB / 16.41 MB, free: 6.016 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.001299/0.001299, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.14 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.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8593/0.8608, 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.08707/0.9479, allocations: 77.16 MB / 1.164 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03106/0.979, allocations: 18.89 MB / 1.182 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004763/0.9838, allocations: 108.6 kB / 1.183 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004465/0.9883, allocations: 1.249 MB / 1.184 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/1.001, allocations: 3.629 MB / 1.187 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007007/1.008, allocations: 2.098 MB / 1.189 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01155/1.02, allocations: 6.673 MB / 1.196 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004939/1.025, allocations: 2.092 MB / 1.198 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007396/1.032, allocations: 2.372 MB / 1.2 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/1.037, allocations: 1.763 MB / 1.202 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001112/1.038, allocations: 198.3 kB / 1.202 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005877/1.044, allocations: 1.614 MB / 1.204 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001327/1.045, allocations: 0.5352 MB / 1.204 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004127/1.049, allocations: 1.248 MB / 1.205 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.009757/1.059, allocations: 3.733 MB / 1.209 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.059, allocations: 7.938 kB / 1.209 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.535e-06/1.059, allocations: 0 / 1.209 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001413/1.059, allocations: 1.188 kB / 1.209 GB, free: 14.86 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.008351/1.067, allocations: 2.705 MB / 1.212 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.068, allocations: 13.44 kB / 1.212 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/1.069, allocations: 264 kB / 1.212 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/1.074, allocations: 2.021 MB / 1.214 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/1.074, allocations: 109.8 kB / 1.214 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/1.075, allocations: 143.4 kB / 1.214 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/1.078, allocations: 1.514 MB / 1.216 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/1.078, allocations: 1.375 kB / 1.216 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/1.079, allocations: 63.11 kB / 1.216 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/1.079, allocations: 39.75 kB / 1.216 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002868/1.082, allocations: 1.125 MB / 1.217 GB, free: 9.531 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.0111/1.093, allocations: 7.612 MB / 1.224 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/1.094, allocations: 468.5 kB / 1.225 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/1.095, allocations: 334.4 kB / 1.225 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008873/1.095, allocations: 1.152 MB / 1.226 GB, free: 28 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.886e-05/1.096, allocations: 47.12 kB / 1.226 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 2.365e-06/1.096, allocations: 0 / 1.226 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002702/1.098, allocations: 0.9612 MB / 1.227 GB, free: 15 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/1.098, allocations: 63.97 kB / 1.227 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/1.102, allocations: 1.783 MB / 1.229 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/1.102, allocations: 41.7 kB / 1.229 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008621/1.103, allocations: 0.9316 MB / 1.23 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.103, allocations: 220.9 kB / 1.23 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/1.103, allocations: 226.7 kB / 1.23 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.103, allocations: 345.9 kB / 1.231 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/1.104, allocations: 338.3 kB / 1.231 GB, free: 11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.105, allocations: 0.686 MB / 1.232 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/1.107, allocations: 1.008 MB / 1.233 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.107, allocations: 11.88 kB / 1.233 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002672/1.11, allocations: 1.218 MB / 1.234 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/1.11, allocations: 8 kB / 1.234 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.11, allocations: 12 kB / 1.234 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/1.11, allocations: 20.03 kB / 1.234 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.111, allocations: 283.6 kB / 1.234 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/1.111, allocations: 23.92 kB / 1.234 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.112, allocations: 170.4 kB / 1.234 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/1.113, allocations: 48 kB / 1.234 GB, free: 7.223 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.0008129/1.113, allocations: 433.4 kB / 1.235 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006464/1.114, allocations: 193.7 kB / 1.235 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/1.116, allocations: 0.8611 MB / 1.236 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/1.116, allocations: 7.984 kB / 1.236 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.116, allocations: 4 kB / 1.236 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/1.117, allocations: 0.7918 MB / 1.237 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005273/1.123, allocations: 2.458 MB / 1.239 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.123, allocations: 7.938 kB / 1.239 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/1.124, allocations: 175.8 kB / 1.239 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/1.124, allocations: 8.25 kB / 1.239 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/1.124, allocations: 19.98 kB / 1.239 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/1.124, allocations: 7.938 kB / 1.239 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.124, allocations: 0 / 1.239 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/1.126, allocations: 1.336 MB / 1.241 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.128, allocations: 370.4 kB / 1.241 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006432/1.128, allocations: 12 kB / 1.241 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.13, allocations: 67.92 kB / 1.241 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.13, allocations: 44.5 kB / 1.241 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/1.13, allocations: 35.97 kB / 1.241 GB, free: 196 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002208/1.132, allocations: 1.243 MB / 1.242 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.132, allocations: 0 / 1.242 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002665/1.135, allocations: 0.659 MB / 1.243 GB, free: 14.27 MB / 0.9825 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.00153/1.136, allocations: 0.6175 MB / 1.244 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001963/1.138, allocations: 0.8195 MB / 1.244 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.138, allocations: 3.938 kB / 1.244 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007738/1.139, allocations: 356.4 kB / 1.245 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006789/1.146, allocations: 1.198 MB / 1.246 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/1.152, allocations: 3.089 MB / 1.249 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.153, allocations: 1.392 MB / 1.25 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005713/1.154, allocations: 159.3 kB / 1.25 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/1.154, allocations: 0 / 1.25 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.05555/1.21, allocations: 35.04 MB / 1.285 GB, free: 3.855 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