Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 99.55 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.001595/0.001594, 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.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7827, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2076/0.9903, allocations: 176.7 MB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01175/1.002, allocations: 6.976 MB / 1.133 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/1.004, allocations: 35.75 kB / 1.133 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003349/1.008, allocations: 0.7233 MB / 1.134 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008695/1.016, allocations: 2.248 MB / 1.136 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/1.02, allocations: 1.07 MB / 1.137 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003882/1.024, allocations: 1.631 MB / 1.138 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/1.025, allocations: 0.8353 MB / 1.139 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003369/1.029, allocations: 1.316 MB / 1.141 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/1.03, allocations: 0.6225 MB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/1.03, allocations: 44 kB / 1.141 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/1.034, allocations: 1.33 MB / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004317/1.034, allocations: 315 kB / 1.143 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005149/1.035, allocations: 273.1 kB / 1.143 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002476/1.037, allocations: 1.598 MB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.037, allocations: 0 / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.913e-06/1.037, allocations: 3.938 kB / 1.145 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.681e-05/1.037, allocations: 0 / 1.145 GB, free: 11.99 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004248/1.041, allocations: 1.587 MB / 1.146 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.041, allocations: 8.031 kB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/1.045, allocations: 0.5838 MB / 1.147 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/1.047, allocations: 0.9336 MB / 1.148 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006546/1.047, allocations: 189.9 kB / 1.148 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/1.048, allocations: 91.97 kB / 1.148 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/1.05, allocations: 1.256 MB / 1.149 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.05, allocations: 0 / 1.149 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.05, allocations: 35.95 kB / 1.149 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/1.051, allocations: 45.98 kB / 1.149 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/1.054, allocations: 1.612 MB / 1.151 GB, free: 5.543 MB / 0.9044 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.006939/1.061, allocations: 4.068 MB / 1.155 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/1.064, allocations: 1.068 MB / 1.156 GB, free: 120 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/1.065, allocations: 294.8 kB / 1.156 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.065, allocations: 47.16 kB / 1.156 GB, free: 15.74 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/1.065, allocations: 0 / 1.156 GB, free: 15.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.005149/1.07, allocations: 1.906 MB / 1.158 GB, free: 13.82 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/1.07, allocations: 64.06 kB / 1.158 GB, free: 13.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.071, allocations: 0.8154 MB / 1.159 GB, free: 12.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/1.071, allocations: 41.7 kB / 1.159 GB, free: 12.86 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/1.072, allocations: 440.5 kB / 1.159 GB, free: 12.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/1.072, allocations: 260.2 kB / 1.16 GB, free: 12.17 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/1.072, allocations: 16 kB / 1.16 GB, free: 12.15 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.072, allocations: 341.9 kB / 1.16 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.074, allocations: 0.5524 MB / 1.16 GB, free: 11.26 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/1.075, allocations: 0.691 MB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.077, allocations: 0.606 MB / 1.162 GB, free: 9.926 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.077, allocations: 0 / 1.162 GB, free: 9.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003441/1.08, allocations: 1.415 MB / 1.163 GB, free: 8.496 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002257/1.08, allocations: 481.3 kB / 1.164 GB, free: 7.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.08, allocations: 0 / 1.164 GB, free: 7.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.08, allocations: 8 kB / 1.164 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.082, allocations: 275.7 kB / 1.164 GB, free: 7.711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007918/1.083, allocations: 1.192 MB / 1.165 GB, free: 6.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.084, allocations: 195.2 kB / 1.165 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-05/1.084, allocations: 39.97 kB / 1.165 GB, free: 6.242 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.084, allocations: 5.875 kB / 1.165 GB, free: 6.238 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003259/1.088, allocations: 1.301 MB / 1.166 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.088, allocations: 4 kB / 1.166 GB, free: 4.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.088, allocations: 4 kB / 1.166 GB, free: 4.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.089, allocations: 243.8 kB / 1.167 GB, free: 4.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/1.089, allocations: 4 kB / 1.167 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.09, allocations: 199.1 kB / 1.167 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/1.09, allocations: 39.98 kB / 1.167 GB, free: 4.445 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006521/1.091, allocations: 382.7 kB / 1.167 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/1.091, allocations: 102.8 kB / 1.167 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/1.095, allocations: 1.429 MB / 1.169 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.095, allocations: 11.94 kB / 1.169 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.095, allocations: 0 / 1.169 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/1.095, allocations: 3.984 kB / 1.169 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005937/1.101, allocations: 2.997 MB / 1.172 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.101, allocations: 4 kB / 1.172 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/1.102, allocations: 252.2 kB / 1.172 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/1.102, allocations: 8 kB / 1.172 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/1.102, allocations: 27.97 kB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007039/1.103, allocations: 1.191 MB / 1.173 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/1.103, allocations: 7.938 kB / 1.173 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/1.107, allocations: 1.753 MB / 1.175 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00086/1.108, allocations: 315.5 kB / 1.175 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.108, allocations: 16 kB / 1.175 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.109, allocations: 171.7 kB / 1.175 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/1.11, allocations: 68.38 kB / 1.175 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/1.11, allocations: 31.98 kB / 1.175 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009723/1.111, allocations: 0.5622 MB / 1.176 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.111, allocations: 0 / 1.176 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001833/1.112, allocations: 0.5302 MB / 1.177 GB, free: 10.23 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006915/1.113, allocations: 292.4 kB / 1.177 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005817/1.119, allocations: 2.12 MB / 1.179 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.119, allocations: 0 / 1.179 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.121, allocations: 0.7068 MB / 1.18 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.124, allocations: 0.5138 MB / 1.18 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/1.129, allocations: 2.481 MB / 1.183 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/1.129, allocations: 1.114 MB / 1.184 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001826/1.131, allocations: 399.5 kB / 1.184 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/1.132, allocations: 87.41 kB / 1.184 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of SimCode: time 7.12e-07/1.132, allocations: 0 / 1.184 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of Templates: time 0.03717/1.169, allocations: 19.63 MB / 1.203 GB, free: 15.05 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches