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.001202/0.001202, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001341/0.001341, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.357/2.357, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7143/0.7147, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0622/0.7769, allocations: 64.43 MB / 1.016 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.802, allocations: 16.24 MB / 1.032 GB, free: 15.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/0.8061, allocations: 91.31 kB / 1.032 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004617/0.8108, allocations: 1.178 MB / 1.034 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.8224, allocations: 3.532 MB / 1.037 GB, free: 10.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00699/0.8294, allocations: 2.318 MB / 1.039 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00834/0.8377, allocations: 3.869 MB / 1.043 GB, free: 4.359 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.8406, allocations: 1.465 MB / 1.044 GB, free: 2.879 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/0.8451, allocations: 1.642 MB / 1.046 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.8474, allocations: 1.073 MB / 1.047 GB, free: 156 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.8478, allocations: 72 kB / 1.047 GB, free: 84 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.8514, allocations: 1.018 MB / 1.048 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004699/0.8519, allocations: 374.4 kB / 1.049 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008231/0.8528, allocations: 492.5 kB / 1.049 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.8563, allocations: 2.644 MB / 1.052 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8563, allocations: 0 / 1.052 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8564, allocations: 4 kB / 1.052 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.098e-05/0.8564, allocations: 0 / 1.052 GB, free: 11.55 MB / 0.8106 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.003966/0.8604, allocations: 2.302 MB / 1.054 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.8604, allocations: 12.03 kB / 1.054 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006809/0.8611, allocations: 269 kB / 1.054 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.8644, allocations: 1.787 MB / 1.056 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.465e-05/0.8645, allocations: 102.7 kB / 1.056 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.8647, allocations: 144 kB / 1.056 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/0.8678, allocations: 1.516 MB / 1.058 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.8678, allocations: 15.78 kB / 1.058 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.868, allocations: 63.97 kB / 1.058 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.868, allocations: 40 kB / 1.058 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.8706, allocations: 1.158 MB / 1.059 GB, free: 3.957 MB / 0.8106 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.009762/0.8803, allocations: 7.638 MB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.8813, allocations: 0.4888 MB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000885/0.8822, allocations: 1.152 MB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.8823, allocations: 43.06 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=59): time 3.196e-06/0.8823, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59): time 0.002306/0.8846, allocations: 1.024 MB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.8847, allocations: 55.97 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.8869, allocations: 1.83 MB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.887, allocations: 45.7 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000734/0.8878, allocations: 0.9317 MB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.888, allocations: 224.9 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.8881, allocations: 20 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8882, allocations: 349.9 kB / 1.072 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.8889, allocations: 346.4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.8898, allocations: 0.7016 MB / 1.073 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.8908, allocations: 470.7 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.8908, allocations: 4 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002614/0.8934, allocations: 1.249 MB / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.8935, allocations: 12 kB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.8935, allocations: 8 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/0.8935, allocations: 16 kB / 1.075 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.8946, allocations: 315.7 kB / 1.075 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.8946, allocations: 19.94 kB / 1.075 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.8963, allocations: 254.3 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/0.8964, allocations: 59.91 kB / 1.076 GB, free: 1.652 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008771/0.8973, allocations: 449.3 kB / 1.076 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.8978, allocations: 193.7 kB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.8999, allocations: 0.8994 MB / 1.077 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.8999, allocations: 8 kB / 1.077 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8999, allocations: 0 / 1.077 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001406/0.9013, allocations: 0.8347 MB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.9064, allocations: 2.521 MB / 1.08 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.9065, allocations: 0 / 1.08 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.9073, allocations: 207.8 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.64e-05/0.9073, allocations: 7.953 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.9074, allocations: 19.98 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.9074, allocations: 4 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.9074, allocations: 4 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.9101, allocations: 1.552 MB / 1.082 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.9111, allocations: 422.3 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/0.9116, allocations: 12 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.913, allocations: 123.7 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.9131, allocations: 60.39 kB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.9132, allocations: 47.91 kB / 1.083 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002209/0.9154, allocations: 1.263 MB / 1.084 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9154, allocations: 0 / 1.084 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002495/0.9179, allocations: 0.663 MB / 1.085 GB, free: 8.082 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/0.9193, allocations: 0.5996 MB / 1.085 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.9213, allocations: 0.843 MB / 1.086 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.9213, allocations: 4 kB / 1.086 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.9221, allocations: 376.4 kB / 1.086 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00761/0.9298, allocations: 1.188 MB / 1.088 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007427/0.9373, allocations: 3.68 MB / 1.091 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.9387, allocations: 1.448 MB / 1.093 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002046/0.9408, allocations: 386.3 kB / 1.093 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/0.9413, allocations: 151.4 kB / 1.093 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of SimCode: time 1.253e-06/0.9413, allocations: 0 / 1.093 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of Templates: time 0.06885/1.01, allocations: 39.88 MB / 1.132 GB, free: 7.977 MB / 0.8887 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","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches