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.00127/0.00127, allocations: 107.2 kB / 16.41 MB, free: 6.461 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.001251/0.001251, allocations: 187 kB / 17.34 MB, free: 5.723 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.06 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.273/2.273, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 63.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.847, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0827/0.9298, allocations: 77.15 MB / 1.164 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03041/0.9602, allocations: 18.9 MB / 1.182 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006525/0.9668, allocations: 112.2 kB / 1.183 GB, free: 476 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005397/0.9723, allocations: 1.285 MB / 1.184 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.9861, allocations: 3.806 MB / 1.187 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006857/0.993, allocations: 2.106 MB / 1.19 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01171/1.005, allocations: 6.682 MB / 1.196 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004751/1.01, allocations: 2.097 MB / 1.198 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/1.016, allocations: 2.378 MB / 1.2 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/1.021, allocations: 1.75 MB / 1.202 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009932/1.022, allocations: 199 kB / 1.202 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005906/1.028, allocations: 1.626 MB / 1.204 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/1.029, allocations: 0.5398 MB / 1.204 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003657/1.033, allocations: 1.242 MB / 1.206 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.009316/1.042, allocations: 3.734 MB / 1.209 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.042, allocations: 0 / 1.209 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.054e-06/1.042, allocations: 4 kB / 1.209 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001452/1.042, allocations: 1.094 kB / 1.209 GB, free: 14.68 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.008115/1.05, allocations: 2.713 MB / 1.212 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.051, allocations: 9.031 kB / 1.212 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/1.052, allocations: 263 kB / 1.212 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/1.057, allocations: 2.019 MB / 1.214 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/1.057, allocations: 112.5 kB / 1.214 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/1.057, allocations: 143.3 kB / 1.214 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/1.061, allocations: 1.519 MB / 1.216 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/1.061, allocations: 2.75 kB / 1.216 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/1.061, allocations: 57.75 kB / 1.216 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/1.061, allocations: 39.69 kB / 1.216 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/1.064, allocations: 1.126 MB / 1.217 GB, free: 9.34 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.01097/1.075, allocations: 7.611 MB / 1.225 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/1.076, allocations: 476.6 kB / 1.225 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/1.077, allocations: 330.3 kB / 1.225 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009718/1.078, allocations: 1.16 MB / 1.226 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/1.078, allocations: 43.12 kB / 1.227 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 2.414e-06/1.078, allocations: 0 / 1.227 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002709/1.08, allocations: 0.9573 MB / 1.227 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.081, allocations: 63.91 kB / 1.228 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/1.084, allocations: 1.787 MB / 1.229 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/1.084, allocations: 45.7 kB / 1.229 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008128/1.085, allocations: 0.92 MB / 1.23 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/1.085, allocations: 224.9 kB / 1.23 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/1.085, allocations: 222.7 kB / 1.231 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.085, allocations: 353.9 kB / 1.231 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006826/1.086, allocations: 330.4 kB / 1.231 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.087, allocations: 0.686 MB / 1.232 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/1.089, allocations: 1.012 MB / 1.233 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.089, allocations: 4 kB / 1.233 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002502/1.091, allocations: 1.209 MB / 1.234 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.091, allocations: 16.86 kB / 1.234 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.091, allocations: 8 kB / 1.234 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/1.091, allocations: 19.98 kB / 1.234 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.092, allocations: 291.6 kB / 1.234 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/1.092, allocations: 19.94 kB / 1.234 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.094, allocations: 166.4 kB / 1.235 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/1.094, allocations: 55.98 kB / 1.235 GB, free: 6.918 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.0008265/1.095, allocations: 441.3 kB / 1.235 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005474/1.095, allocations: 189.7 kB / 1.235 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/1.097, allocations: 0.8606 MB / 1.236 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.097, allocations: 8 kB / 1.236 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.097, allocations: 0 / 1.236 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/1.099, allocations: 0.8034 MB / 1.237 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005007/1.104, allocations: 2.451 MB / 1.239 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.104, allocations: 3.938 kB / 1.239 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/1.105, allocations: 183.7 kB / 1.239 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/1.105, allocations: 4 kB / 1.239 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/1.105, allocations: 16.16 kB / 1.239 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/1.105, allocations: 11.98 kB / 1.24 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.105, allocations: 8 kB / 1.24 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/1.107, allocations: 1.328 MB / 1.241 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009297/1.108, allocations: 370.4 kB / 1.241 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005572/1.109, allocations: 19.98 kB / 1.241 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.11, allocations: 64 kB / 1.241 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/1.11, allocations: 48.44 kB / 1.241 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.111, allocations: 35.97 kB / 1.241 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002095/1.113, allocations: 1.239 MB / 1.243 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.51e-07/1.113, allocations: 0 / 1.243 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002519/1.115, allocations: 0.6512 MB / 1.243 GB, free: 13.96 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.001542/1.117, allocations: 0.6102 MB / 1.244 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001934/1.119, allocations: 0.8195 MB / 1.245 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.119, allocations: 0 / 1.245 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007801/1.12, allocations: 356.4 kB / 1.245 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006674/1.126, allocations: 1.202 MB / 1.246 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006178/1.132, allocations: 3.093 MB / 1.249 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.134, allocations: 1.388 MB / 1.25 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/1.134, allocations: 159.4 kB / 1.251 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of SimCode: time 1.653e-06/1.134, allocations: 0 / 1.251 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of Templates: time 0.05426/1.189, allocations: 35.05 MB / 1.285 GB, free: 3.551 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