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.001246/0.001246, 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.001664/0.001664, 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.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.411/2.411, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004014, allocations: 15.98 kB / 0.8145 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8058, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.2085/1.014, allocations: 176.7 MB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01261/1.027, allocations: 6.983 MB / 1.133 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/1.029, allocations: 35.75 kB / 1.133 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/1.031, allocations: 0.7155 MB / 1.134 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007555/1.039, allocations: 2.248 MB / 1.136 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003466/1.042, allocations: 1.07 MB / 1.137 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003581/1.046, allocations: 1.635 MB / 1.138 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/1.048, allocations: 0.8314 MB / 1.139 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/1.051, allocations: 1.316 MB / 1.141 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/1.052, allocations: 0.6225 MB / 1.141 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/1.053, allocations: 44 kB / 1.141 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/1.056, allocations: 1.33 MB / 1.142 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003614/1.056, allocations: 319 kB / 1.143 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003457/1.057, allocations: 269.1 kB / 1.143 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/1.059, allocations: 1.602 MB / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/1.059, allocations: 0 / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.653e-06/1.059, allocations: 0 / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.154e-05/1.059, allocations: 0 / 1.145 GB, free: 12.07 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.004284/1.063, allocations: 1.583 MB / 1.146 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.063, allocations: 12.03 kB / 1.146 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/1.066, allocations: 0.5877 MB / 1.147 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/1.068, allocations: 0.9336 MB / 1.148 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006444/1.069, allocations: 197.8 kB / 1.148 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/1.069, allocations: 87.98 kB / 1.148 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/1.072, allocations: 1.26 MB / 1.149 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.072, allocations: 0 / 1.149 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.072, allocations: 35.95 kB / 1.149 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/1.072, allocations: 45.98 kB / 1.149 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/1.076, allocations: 1.608 MB / 1.151 GB, free: 5.609 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.007066/1.083, allocations: 4.075 MB / 1.155 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/1.086, allocations: 1.064 MB / 1.156 GB, free: 188 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008847/1.087, allocations: 294.9 kB / 1.156 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/1.087, allocations: 43.22 kB / 1.156 GB, free: 15.81 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 4.689e-06/1.087, allocations: 0 / 1.156 GB, free: 15.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.005464/1.092, allocations: 1.91 MB / 1.158 GB, free: 13.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/1.092, allocations: 64.05 kB / 1.158 GB, free: 13.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.094, allocations: 0.8155 MB / 1.159 GB, free: 12.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.094, allocations: 41.7 kB / 1.159 GB, free: 12.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/1.094, allocations: 444.5 kB / 1.159 GB, free: 12.49 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/1.094, allocations: 256.2 kB / 1.16 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/1.094, allocations: 19.94 kB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.095, allocations: 337.9 kB / 1.16 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/1.096, allocations: 0.5524 MB / 1.16 GB, free: 11.33 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/1.098, allocations: 0.691 MB / 1.161 GB, free: 10.61 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/1.099, allocations: 0.61 MB / 1.162 GB, free: 9.988 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.099, allocations: 0 / 1.162 GB, free: 9.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003591/1.103, allocations: 1.411 MB / 1.163 GB, free: 8.562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/1.103, allocations: 481.3 kB / 1.164 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.103, allocations: 0 / 1.164 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.103, allocations: 8 kB / 1.164 GB, free: 8.047 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.105, allocations: 271.7 kB / 1.164 GB, free: 7.781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000923/1.106, allocations: 1.196 MB / 1.165 GB, free: 6.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.107, allocations: 191.2 kB / 1.165 GB, free: 6.352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/1.107, allocations: 39.97 kB / 1.165 GB, free: 6.312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.107, allocations: 5.719 kB / 1.165 GB, free: 6.309 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003122/1.11, allocations: 1.297 MB / 1.166 GB, free: 5.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.111, allocations: 4 kB / 1.166 GB, free: 5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/1.111, allocations: 4 kB / 1.166 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.112, allocations: 247.7 kB / 1.167 GB, free: 4.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.112, allocations: 7.984 kB / 1.167 GB, free: 4.746 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.113, allocations: 191.2 kB / 1.167 GB, free: 4.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/1.113, allocations: 39.95 kB / 1.167 GB, free: 4.52 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.0007111/1.114, allocations: 383.1 kB / 1.167 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/1.114, allocations: 110.8 kB / 1.167 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/1.118, allocations: 1.429 MB / 1.169 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.118, allocations: 11.94 kB / 1.169 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.118, allocations: 0 / 1.169 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/1.118, allocations: 3.984 kB / 1.169 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/1.124, allocations: 2.997 MB / 1.172 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.124, allocations: 4 kB / 1.172 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.125, allocations: 252.2 kB / 1.172 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/1.125, allocations: 8 kB / 1.172 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/1.125, allocations: 23.98 kB / 1.172 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007225/1.126, allocations: 1.195 MB / 1.173 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.126, allocations: 7.938 kB / 1.173 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/1.129, allocations: 1.749 MB / 1.175 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/1.13, allocations: 315.5 kB / 1.175 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.13, allocations: 19.98 kB / 1.175 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.131, allocations: 163.7 kB / 1.175 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.132, allocations: 68.38 kB / 1.175 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/1.132, allocations: 35.97 kB / 1.175 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008129/1.133, allocations: 0.5583 MB / 1.176 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/1.133, allocations: 0 / 1.176 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00143/1.134, allocations: 0.5302 MB / 1.177 GB, free: 10.3 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.0006217/1.135, allocations: 292 kB / 1.177 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005505/1.14, allocations: 2.12 MB / 1.179 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.14, allocations: 0 / 1.179 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.142, allocations: 0.7068 MB / 1.18 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/1.145, allocations: 0.523 MB / 1.18 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/1.15, allocations: 2.487 MB / 1.183 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/1.15, allocations: 1.114 MB / 1.184 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001659/1.152, allocations: 399.4 kB / 1.184 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/1.152, allocations: 87.41 kB / 1.184 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of SimCode: time 8.62e-07/1.152, allocations: 0 / 1.184 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of Templates: time 0.03381/1.186, allocations: 19.63 MB / 1.203 GB, free: 15.13 MB / 0.9669 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","../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches