Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001855/0.001855, allocations: 172.7 kB / 15.95 MB, free: 208 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.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.406 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.404/2.404, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 8 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6927/0.6931, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2013/0.8944, allocations: 195.2 MB / 1.145 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009799/0.9043, allocations: 6.628 MB / 1.152 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.9054, allocations: 35.75 kB / 1.152 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.9069, allocations: 0.4927 MB / 1.152 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.9115, allocations: 1.799 MB / 1.154 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.914, allocations: 0.9091 MB / 1.155 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003766/0.9177, allocations: 3.194 MB / 1.158 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.9189, allocations: 0.796 MB / 1.159 GB, free: 13.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003861/0.9228, allocations: 1.533 MB / 1.16 GB, free: 12.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.9252, allocations: 0.8637 MB / 1.161 GB, free: 11.51 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.9255, allocations: 48 kB / 1.161 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.9293, allocations: 1.543 MB / 1.162 GB, free: 9.914 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.9297, allocations: 338.8 kB / 1.163 GB, free: 9.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.9302, allocations: 269.1 kB / 1.163 GB, free: 9.312 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.9323, allocations: 1.711 MB / 1.165 GB, free: 7.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9323, allocations: 3.938 kB / 1.165 GB, free: 7.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9323, allocations: 3.938 kB / 1.165 GB, free: 7.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.9323, allocations: 0 / 1.165 GB, free: 7.59 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.003848/0.9362, allocations: 1.614 MB / 1.166 GB, free: 5.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.9362, allocations: 8.031 kB / 1.166 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.9392, allocations: 0.58 MB / 1.167 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.941, allocations: 0.9258 MB / 1.168 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006053/0.9416, allocations: 201.8 kB / 1.168 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.9418, allocations: 84 kB / 1.168 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.9445, allocations: 1.264 MB / 1.169 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.9445, allocations: 4 kB / 1.169 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.9446, allocations: 35.95 kB / 1.169 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.328e-05/0.9447, allocations: 45.98 kB / 1.169 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.9483, allocations: 1.612 MB / 1.171 GB, free: 1.109 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.006014/0.9543, allocations: 4.072 MB / 1.175 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.9567, allocations: 1.048 MB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.9582, allocations: 0.7001 MB / 1.177 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.9593, allocations: 0.636 MB / 1.177 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.9593, allocations: 43.16 kB / 1.177 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/0.9593, allocations: 0 / 1.177 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.004705/0.9641, allocations: 1.918 MB / 1.179 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.9641, allocations: 60.06 kB / 1.179 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.9651, allocations: 0.8154 MB / 1.18 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.9652, allocations: 41.7 kB / 1.18 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.9656, allocations: 444.5 kB / 1.18 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.9658, allocations: 256.2 kB / 1.181 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.9659, allocations: 12 kB / 1.181 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.966, allocations: 337.9 kB / 1.181 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.9673, allocations: 0.5602 MB / 1.182 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.9688, allocations: 0.6863 MB / 1.182 GB, free: 5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.9703, allocations: 0.6139 MB / 1.183 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9703, allocations: 0 / 1.183 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00319/0.9735, allocations: 1.411 MB / 1.184 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.9736, allocations: 144 kB / 1.184 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.9736, allocations: 3.984 kB / 1.184 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.9736, allocations: 4 kB / 1.184 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.9752, allocations: 279.7 kB / 1.185 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007237/0.9759, allocations: 1.195 MB / 1.186 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.9771, allocations: 187.4 kB / 1.186 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.551e-05/0.9772, allocations: 43.95 kB / 1.186 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.9772, allocations: 4 kB / 1.186 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002993/0.9802, allocations: 1.294 MB / 1.187 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9802, allocations: 3.984 kB / 1.187 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.9803, allocations: 12.02 kB / 1.187 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.9814, allocations: 255.6 kB / 1.188 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.9814, allocations: 4 kB / 1.188 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.9826, allocations: 191.1 kB / 1.188 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.9826, allocations: 31.98 kB / 1.188 GB, free: 15.25 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.0006331/0.9833, allocations: 373.4 kB / 1.188 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.9835, allocations: 102.8 kB / 1.188 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/0.9869, allocations: 1.441 MB / 1.19 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.9869, allocations: 8 kB / 1.19 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9869, allocations: 0 / 1.19 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.9869, allocations: 3.984 kB / 1.19 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.9923, allocations: 2.925 MB / 1.193 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.9923, allocations: 4.469 kB / 1.193 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.9936, allocations: 251.7 kB / 1.193 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.9936, allocations: 15.95 kB / 1.193 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.9937, allocations: 19.98 kB / 1.193 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000611/0.9943, allocations: 1.195 MB / 1.194 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.9943, allocations: 12.08 kB / 1.194 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.9975, allocations: 1.529 MB / 1.195 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.998, allocations: 311.5 kB / 1.196 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.9982, allocations: 16 kB / 1.196 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.9993, allocations: 171.7 kB / 1.196 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.9995, allocations: 68.36 kB / 1.196 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.9996, allocations: 27.98 kB / 1.196 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008358/1, allocations: 0.5661 MB / 1.197 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/1, allocations: 0 / 1.197 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001443/1.002, allocations: 0.538 MB / 1.197 GB, free: 5.43 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.0006098/1.002, allocations: 269.5 kB / 1.197 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005135/1.008, allocations: 2.119 MB / 1.199 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.008, allocations: 12.06 kB / 1.199 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.009, allocations: 0.6988 MB / 1.2 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.012, allocations: 0.5229 MB / 1.201 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/1.016, allocations: 2.481 MB / 1.203 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/1.017, allocations: 1.098 MB / 1.204 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001646/1.019, allocations: 391.5 kB / 1.205 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/1.019, allocations: 87.39 kB / 1.205 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of SimCode: time 7.32e-07/1.019, allocations: 0 / 1.205 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of Templates: time 0.03311/1.052, allocations: 19.65 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches