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.001251/0.001251, allocations: 107 kB / 16.36 MB, free: 5.875 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.001198/0.001198, allocations: 196.2 kB / 17.3 MB, free: 5.516 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 66.2 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2629, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07752/0.3405, allocations: 77.16 MB / 1.026 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.3645, allocations: 18.88 MB / 1.045 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.3674, allocations: 111.3 kB / 1.045 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.3702, allocations: 1.25 MB / 1.046 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008539/0.3788, allocations: 3.63 MB / 1.05 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.3835, allocations: 2.085 MB / 1.052 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008169/0.3917, allocations: 6.696 MB / 1.058 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.3946, allocations: 2.086 MB / 1.06 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/0.3996, allocations: 2.316 MB / 1.063 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.4026, allocations: 1.754 MB / 1.064 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.4031, allocations: 200 kB / 1.065 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.407, allocations: 1.618 MB / 1.066 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005753/0.4076, allocations: 0.541 MB / 1.067 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001883/0.4095, allocations: 1.244 MB / 1.068 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.4147, allocations: 3.731 MB / 1.072 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4147, allocations: 0 / 1.072 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4147, allocations: 0 / 1.072 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.781e-05/0.4147, allocations: 0 / 1.072 GB, free: 12.36 MB / 0.8575 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.004403/0.4192, allocations: 2.711 MB / 1.074 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.4192, allocations: 12.03 kB / 1.074 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/0.4199, allocations: 266 kB / 1.074 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/0.4232, allocations: 2.019 MB / 1.076 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.4233, allocations: 102.7 kB / 1.077 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.4235, allocations: 147.9 kB / 1.077 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.4261, allocations: 1.52 MB / 1.078 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.4261, allocations: 3.938 kB / 1.078 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.4262, allocations: 63.94 kB / 1.078 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.4263, allocations: 39.98 kB / 1.078 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.4285, allocations: 1.122 MB / 1.079 GB, free: 4.164 MB / 0.8575 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.4295/0.858, allocations: 7.583 MB / 1.087 GB, free: 128.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.859, allocations: 487.4 kB / 1.087 GB, free: 128.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.8596, allocations: 335.8 kB / 1.088 GB, free: 128.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/0.8602, allocations: 1.15 MB / 1.089 GB, free: 126.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.8602, allocations: 48.8 kB / 1.089 GB, free: 126.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 2.325e-06/0.8602, allocations: 0 / 1.089 GB, free: 126.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.002192/0.8624, allocations: 0.963 MB / 1.09 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.8625, allocations: 59.03 kB / 1.09 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.8647, allocations: 1.784 MB / 1.091 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.8648, allocations: 43.67 kB / 1.091 GB, free: 125.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006517/0.8655, allocations: 0.9315 MB / 1.092 GB, free: 125.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.8657, allocations: 218.5 kB / 1.093 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.866, allocations: 226.9 kB / 1.093 GB, free: 124.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.8661, allocations: 345.7 kB / 1.093 GB, free: 124.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.8668, allocations: 329.9 kB / 1.093 GB, free: 124.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/0.8678, allocations: 0.6936 MB / 1.094 GB, free: 123.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.8693, allocations: 1.007 MB / 1.095 GB, free: 123.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.8694, allocations: 3.5 kB / 1.095 GB, free: 123.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002327/0.8717, allocations: 1.223 MB / 1.096 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.8717, allocations: 8.906 kB / 1.096 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.8718, allocations: 10.94 kB / 1.096 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.8718, allocations: 20.17 kB / 1.096 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.8729, allocations: 285 kB / 1.097 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.8729, allocations: 22.14 kB / 1.097 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.8741, allocations: 167.4 kB / 1.097 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/0.8742, allocations: 52.17 kB / 1.097 GB, free: 122.6 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.0006391/0.8748, allocations: 438.8 kB / 1.097 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.8751, allocations: 200.3 kB / 1.097 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.8769, allocations: 0.8625 MB / 1.098 GB, free: 121.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.877, allocations: 8.469 kB / 1.098 GB, free: 121.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.877, allocations: 1.125 kB / 1.098 GB, free: 121.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/0.8783, allocations: 0.8003 MB / 1.099 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/0.8827, allocations: 2.446 MB / 1.101 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.8827, allocations: 2.75 kB / 1.101 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.8835, allocations: 185 kB / 1.102 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.8835, allocations: 5.438 kB / 1.102 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.8835, allocations: 19.38 kB / 1.102 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.8835, allocations: 8 kB / 1.102 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8836, allocations: 3.375 kB / 1.102 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.8858, allocations: 1.335 MB / 1.103 GB, free: 119.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006362/0.8864, allocations: 361 kB / 1.103 GB, free: 119.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.8867, allocations: 13.78 kB / 1.103 GB, free: 119.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/0.8877, allocations: 78.8 kB / 1.103 GB, free: 119.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.8878, allocations: 51.02 kB / 1.103 GB, free: 119.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.8879, allocations: 33.84 kB / 1.104 GB, free: 119.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002046/0.89, allocations: 1.244 MB / 1.105 GB, free: 118.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.41e-07/0.89, allocations: 0 / 1.105 GB, free: 118.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001981/0.892, allocations: 0.6478 MB / 1.105 GB, free: 118.7 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.00109/0.8931, allocations: 0.6126 MB / 1.106 GB, free: 118.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.895, allocations: 0.8142 MB / 1.107 GB, free: 118.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.895, allocations: 1.562 kB / 1.107 GB, free: 118.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.8958, allocations: 354.9 kB / 1.107 GB, free: 118.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005013/0.9008, allocations: 1.202 MB / 1.108 GB, free: 117.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.9053, allocations: 3.065 MB / 1.111 GB, free: 116.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/0.9062, allocations: 1.405 MB / 1.113 GB, free: 115.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001607/0.9078, allocations: 387.7 kB / 1.113 GB, free: 115.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.9081, allocations: 153.5 kB / 1.113 GB, free: 115.4 MB / 0.8575 GB Notification: Performance of SimCode: time 1.022e-06/0.9081, allocations: 0 / 1.113 GB, free: 115.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.05881/0.967, allocations: 41.63 MB / 1.154 GB, free: 91.27 MB / 0.8575 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 -s gbode -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