Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,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.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,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.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 86.56 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.001423/0.001423, 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.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.422 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.507/2.507, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 12 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7677, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2213/0.989, allocations: 195.2 MB / 1.145 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01193/1.001, allocations: 6.62 MB / 1.152 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/1.003, allocations: 35.75 kB / 1.152 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/1.005, allocations: 0.5005 MB / 1.152 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005908/1.011, allocations: 1.803 MB / 1.154 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/1.014, allocations: 0.9082 MB / 1.155 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004539/1.019, allocations: 3.202 MB / 1.158 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/1.02, allocations: 0.7883 MB / 1.159 GB, free: 13.92 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/1.024, allocations: 1.525 MB / 1.16 GB, free: 12.39 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/1.026, allocations: 0.8676 MB / 1.161 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/1.026, allocations: 52 kB / 1.161 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/1.03, allocations: 1.54 MB / 1.162 GB, free: 9.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004055/1.03, allocations: 338.8 kB / 1.163 GB, free: 9.594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/1.03, allocations: 273.1 kB / 1.163 GB, free: 9.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002136/1.033, allocations: 1.715 MB / 1.165 GB, free: 7.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.033, allocations: 0 / 1.165 GB, free: 7.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.814e-06/1.033, allocations: 0 / 1.165 GB, free: 7.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.537e-05/1.033, allocations: 0 / 1.165 GB, free: 7.602 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.003945/1.037, allocations: 1.622 MB / 1.166 GB, free: 5.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.037, allocations: 8.031 kB / 1.166 GB, free: 5.914 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/1.04, allocations: 0.5839 MB / 1.167 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/1.041, allocations: 0.9277 MB / 1.168 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005726/1.042, allocations: 197.9 kB / 1.168 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/1.042, allocations: 84 kB / 1.168 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/1.045, allocations: 1.26 MB / 1.169 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.045, allocations: 0 / 1.169 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.045, allocations: 43.94 kB / 1.169 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/1.045, allocations: 41.98 kB / 1.169 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/1.048, allocations: 1.616 MB / 1.171 GB, free: 1.113 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.006145/1.055, allocations: 4.072 MB / 1.175 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/1.057, allocations: 1.056 MB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/1.058, allocations: 0.6962 MB / 1.177 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.06, allocations: 0.6398 MB / 1.177 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.06, allocations: 43.22 kB / 1.177 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/1.06, allocations: 0 / 1.177 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.004574/1.064, allocations: 1.91 MB / 1.179 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.064, allocations: 60.06 kB / 1.179 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/1.065, allocations: 0.8154 MB / 1.18 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/1.065, allocations: 37.7 kB / 1.18 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/1.066, allocations: 448.5 kB / 1.181 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/1.066, allocations: 256.2 kB / 1.181 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/1.066, allocations: 16 kB / 1.181 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.066, allocations: 337.9 kB / 1.181 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.067, allocations: 0.5601 MB / 1.182 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/1.069, allocations: 0.6785 MB / 1.182 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/1.07, allocations: 0.6139 MB / 1.183 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.07, allocations: 0 / 1.183 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003493/1.074, allocations: 1.411 MB / 1.184 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/1.074, allocations: 139.9 kB / 1.184 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.074, allocations: 4.062 kB / 1.184 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/1.074, allocations: 7.984 kB / 1.184 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.076, allocations: 275.6 kB / 1.185 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007132/1.076, allocations: 1.195 MB / 1.186 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.078, allocations: 191.3 kB / 1.186 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/1.078, allocations: 35.97 kB / 1.186 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.078, allocations: 4 kB / 1.186 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002951/1.081, allocations: 1.301 MB / 1.187 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.081, allocations: 0 / 1.187 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/1.081, allocations: 15.88 kB / 1.187 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.082, allocations: 243.8 kB / 1.188 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.082, allocations: 7.984 kB / 1.188 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.083, allocations: 191.1 kB / 1.188 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/1.083, allocations: 35.98 kB / 1.188 GB, free: 15.26 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.0007101/1.084, allocations: 373.5 kB / 1.188 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/1.084, allocations: 102.8 kB / 1.188 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/1.088, allocations: 1.437 MB / 1.19 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/1.088, allocations: 8 kB / 1.19 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.088, allocations: 0 / 1.19 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.088, allocations: 3.984 kB / 1.19 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/1.093, allocations: 2.929 MB / 1.193 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.093, allocations: 4 kB / 1.193 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.094, allocations: 248.1 kB / 1.193 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/1.094, allocations: 15.89 kB / 1.193 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/1.094, allocations: 23.98 kB / 1.193 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006894/1.095, allocations: 1.191 MB / 1.194 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.095, allocations: 7.953 kB / 1.194 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/1.098, allocations: 1.533 MB / 1.195 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006035/1.099, allocations: 307.5 kB / 1.196 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.099, allocations: 23.94 kB / 1.196 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.1, allocations: 163.7 kB / 1.196 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.1, allocations: 68.38 kB / 1.196 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.1, allocations: 35.98 kB / 1.196 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008774/1.101, allocations: 0.5622 MB / 1.197 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.101, allocations: 0 / 1.197 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001573/1.103, allocations: 0.5302 MB / 1.197 GB, free: 5.453 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.0006607/1.104, allocations: 291.5 kB / 1.197 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004933/1.109, allocations: 2.123 MB / 1.199 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.109, allocations: 0 / 1.199 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/1.11, allocations: 0.6989 MB / 1.2 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/1.112, allocations: 0.5291 MB / 1.201 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/1.117, allocations: 2.488 MB / 1.203 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/1.118, allocations: 1.087 MB / 1.204 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001628/1.119, allocations: 391.5 kB / 1.205 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/1.12, allocations: 95.39 kB / 1.205 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of SimCode: time 8.81e-07/1.12, allocations: 0 / 1.205 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of Templates: time 0.03449/1.154, allocations: 19.65 MB / 1.224 GB, free: 10.29 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches