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.0009902/0.0009902, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001017/0.001017, allocations: 168.7 kB / 15.95 MB, free: 204 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.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.41 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.447/2.447, allocations: 390.9 MB / 0.666 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005484/0.0005486, allocations: 8 kB / 0.8153 GB, free: 13.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7297, allocations: 142.4 MB / 0.9544 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.2109/0.9407, allocations: 195.2 MB / 1.145 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.951, allocations: 6.626 MB / 1.152 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009723/0.952, allocations: 35.75 kB / 1.152 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.9534, allocations: 0.4967 MB / 1.152 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.9578, allocations: 1.795 MB / 1.154 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.9601, allocations: 0.9116 MB / 1.155 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003174/0.9633, allocations: 3.194 MB / 1.158 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.9643, allocations: 0.7999 MB / 1.159 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.9676, allocations: 1.525 MB / 1.16 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.9689, allocations: 0.8715 MB / 1.161 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.969, allocations: 48 kB / 1.161 GB, free: 11.63 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.9724, allocations: 1.532 MB / 1.162 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.9728, allocations: 342.7 kB / 1.163 GB, free: 9.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.9731, allocations: 273.1 kB / 1.163 GB, free: 9.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.9749, allocations: 1.711 MB / 1.165 GB, free: 7.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9749, allocations: 0 / 1.165 GB, free: 7.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9749, allocations: 4 kB / 1.165 GB, free: 7.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.975, allocations: 0 / 1.165 GB, free: 7.766 MB / 0.92 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.003683/0.9786, allocations: 1.614 MB / 1.166 GB, free: 6.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.9787, allocations: 16.02 kB / 1.166 GB, free: 6.078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.9814, allocations: 0.576 MB / 1.167 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.9829, allocations: 0.9298 MB / 1.168 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005305/0.9834, allocations: 193.9 kB / 1.168 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.9836, allocations: 84 kB / 1.168 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.986, allocations: 1.26 MB / 1.169 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.986, allocations: 0 / 1.169 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.9861, allocations: 43.94 kB / 1.169 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/0.9862, allocations: 49.98 kB / 1.169 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.9896, allocations: 1.612 MB / 1.171 GB, free: 1.281 MB / 0.92 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.005443/0.995, allocations: 4.076 MB / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.9973, allocations: 1.048 MB / 1.176 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.9986, allocations: 0.6981 MB / 1.177 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009743/0.9996, allocations: 0.6321 MB / 1.177 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.9997, allocations: 47.2 kB / 1.177 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.053e-06/0.9997, allocations: 0 / 1.177 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.004362/1.004, allocations: 1.914 MB / 1.179 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.004, allocations: 64.06 kB / 1.179 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009534/1.005, allocations: 0.8116 MB / 1.18 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/1.005, allocations: 37.7 kB / 1.18 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/1.005, allocations: 448.5 kB / 1.18 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/1.006, allocations: 256.2 kB / 1.181 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/1.006, allocations: 16 kB / 1.181 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.006, allocations: 337.8 kB / 1.181 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.007, allocations: 0.5563 MB / 1.182 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/1.009, allocations: 0.6863 MB / 1.182 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.01, allocations: 0.6177 MB / 1.183 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.01, allocations: 0 / 1.183 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00297/1.013, allocations: 1.403 MB / 1.184 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.013, allocations: 152 kB / 1.184 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.013, allocations: 0 / 1.184 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.013, allocations: 7.938 kB / 1.184 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.014, allocations: 271.7 kB / 1.185 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006446/1.015, allocations: 1.199 MB / 1.186 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.016, allocations: 194.5 kB / 1.186 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/1.016, allocations: 31.98 kB / 1.186 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/1.016, allocations: 4 kB / 1.186 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002809/1.019, allocations: 1.301 MB / 1.187 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/1.019, allocations: 0 / 1.187 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/1.019, allocations: 7.953 kB / 1.187 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.02, allocations: 251.7 kB / 1.188 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.02, allocations: 8 kB / 1.188 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/1.021, allocations: 195.1 kB / 1.188 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/1.021, allocations: 35.97 kB / 1.188 GB, free: 15.42 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.0005058/1.022, allocations: 371 kB / 1.188 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.022, allocations: 106.8 kB / 1.188 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/1.025, allocations: 1.449 MB / 1.19 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.025, allocations: 8 kB / 1.19 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.025, allocations: 4 kB / 1.19 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.025, allocations: 3.984 kB / 1.19 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/1.03, allocations: 2.921 MB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.03, allocations: 4 kB / 1.193 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.031, allocations: 252.1 kB / 1.193 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/1.031, allocations: 11.95 kB / 1.193 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.472e-05/1.031, allocations: 27.98 kB / 1.193 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006717/1.032, allocations: 1.184 MB / 1.194 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.032, allocations: 11.89 kB / 1.194 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/1.035, allocations: 1.537 MB / 1.195 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/1.036, allocations: 307.5 kB / 1.196 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.036, allocations: 20 kB / 1.196 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.037, allocations: 167.6 kB / 1.196 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.037, allocations: 64.38 kB / 1.196 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/1.037, allocations: 39.97 kB / 1.196 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007973/1.038, allocations: 0.5622 MB / 1.197 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/1.038, allocations: 0 / 1.197 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001542/1.04, allocations: 0.5263 MB / 1.197 GB, free: 5.605 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.0007348/1.04, allocations: 280.5 kB / 1.197 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004899/1.045, allocations: 2.12 MB / 1.199 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.045, allocations: 3.938 kB / 1.199 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.047, allocations: 0.7066 MB / 1.2 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.049, allocations: 0.5278 MB / 1.201 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/1.054, allocations: 2.469 MB / 1.203 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/1.055, allocations: 1.098 MB / 1.204 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001689/1.056, allocations: 395.5 kB / 1.205 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/1.057, allocations: 83.41 kB / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of SimCode: time 7.92e-07/1.057, allocations: 0 / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of Templates: time 0.03345/1.09, allocations: 19.64 MB / 1.224 GB, free: 10.45 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches