Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001287/0.001287, allocations: 99.7 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.001609/0.001609, allocations: 177.3 kB / 15.95 MB, free: 216 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.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.559/2.559, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6015, allocations: 153.6 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.1805/0.782, allocations: 176.7 MB / 1.193 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.7921, allocations: 6.973 MB / 1.2 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.7933, allocations: 31.75 kB / 1.2 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.7953, allocations: 0.731 MB / 1.201 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.8011, allocations: 2.247 MB / 1.203 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.8041, allocations: 1.06 MB / 1.204 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003123/0.8072, allocations: 1.634 MB / 1.206 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.8086, allocations: 0.843 MB / 1.207 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.8117, allocations: 1.305 MB / 1.208 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.8127, allocations: 0.6225 MB / 1.208 GB, free: 488 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.8129, allocations: 48 kB / 1.208 GB, free: 440 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.8159, allocations: 1.334 MB / 1.21 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.8163, allocations: 311 kB / 1.21 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.8167, allocations: 269.1 kB / 1.21 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.8191, allocations: 1.606 MB / 1.212 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.8191, allocations: 7.938 kB / 1.212 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8191, allocations: 0 / 1.212 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.8192, allocations: 0 / 1.212 GB, free: 12.9 MB / 0.9669 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.004664/0.8238, allocations: 1.575 MB / 1.213 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.8239, allocations: 12.03 kB / 1.213 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.8273, allocations: 0.5878 MB / 1.214 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.8294, allocations: 0.9258 MB / 1.215 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006872/0.8301, allocations: 201.8 kB / 1.215 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.8304, allocations: 84 kB / 1.215 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.8336, allocations: 1.253 MB / 1.216 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.8336, allocations: 0 / 1.216 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.8338, allocations: 36 kB / 1.216 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.649e-05/0.8339, allocations: 45.98 kB / 1.217 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.8379, allocations: 1.616 MB / 1.218 GB, free: 6.461 MB / 0.9669 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.006727/0.8446, allocations: 4.08 MB / 1.222 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.8473, allocations: 1.073 MB / 1.223 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007413/0.8481, allocations: 294.9 kB / 1.223 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.8481, allocations: 47.11 kB / 1.223 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 3.326e-06/0.8481, allocations: 4 kB / 1.223 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.005171/0.8533, allocations: 1.91 MB / 1.225 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.8534, allocations: 60.06 kB / 1.225 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.8545, allocations: 0.8076 MB / 1.226 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.8547, allocations: 45.7 kB / 1.226 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.855, allocations: 444.5 kB / 1.227 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.8553, allocations: 260.1 kB / 1.227 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.8553, allocations: 16 kB / 1.227 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8554, allocations: 334 kB / 1.227 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.8569, allocations: 0.5602 MB / 1.228 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.8585, allocations: 0.6832 MB / 1.228 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.86, allocations: 0.61 MB / 1.229 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.86, allocations: 4 kB / 1.229 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003515/0.8636, allocations: 1.407 MB / 1.23 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.8638, allocations: 481.3 kB / 1.231 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.8639, allocations: 4 kB / 1.231 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.8639, allocations: 7.953 kB / 1.231 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.8655, allocations: 271.7 kB / 1.231 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007599/0.8663, allocations: 1.195 MB / 1.232 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.8677, allocations: 191.4 kB / 1.232 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.8678, allocations: 35.94 kB / 1.233 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.8679, allocations: 7.938 kB / 1.233 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003301/0.8712, allocations: 1.305 MB / 1.234 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.8712, allocations: 0 / 1.234 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.8712, allocations: 8.062 kB / 1.234 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.8724, allocations: 251.7 kB / 1.234 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.8725, allocations: 4 kB / 1.234 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.8738, allocations: 195.1 kB / 1.234 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.874, allocations: 35.97 kB / 1.234 GB, free: 5.355 MB / 0.9825 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.000643/0.8746, allocations: 372.9 kB / 1.235 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.8749, allocations: 106.7 kB / 1.235 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003697/0.8786, allocations: 1.437 MB / 1.236 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.8786, allocations: 8 kB / 1.236 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.8786, allocations: 0 / 1.236 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.8787, allocations: 3.984 kB / 1.236 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.885, allocations: 2.993 MB / 1.239 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.8851, allocations: 4 kB / 1.239 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.8864, allocations: 251.7 kB / 1.239 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/0.8864, allocations: 11.98 kB / 1.239 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.8865, allocations: 19.98 kB / 1.239 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007004/0.8872, allocations: 1.196 MB / 1.241 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.8872, allocations: 7.938 kB / 1.241 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.8909, allocations: 1.749 MB / 1.242 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/0.8917, allocations: 307.6 kB / 1.243 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.892, allocations: 16 kB / 1.243 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.8934, allocations: 179.6 kB / 1.243 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.8935, allocations: 56.42 kB / 1.243 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/0.8936, allocations: 31.98 kB / 1.243 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009401/0.8946, allocations: 0.57 MB / 1.243 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8946, allocations: 4 kB / 1.243 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001763/0.8964, allocations: 0.5341 MB / 1.244 GB, free: 11.14 MB / 0.9981 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.0006934/0.8971, allocations: 264.1 kB / 1.244 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005865/0.903, allocations: 2.127 MB / 1.246 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.903, allocations: 0 / 1.246 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.9049, allocations: 0.7068 MB / 1.247 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.9079, allocations: 0.5081 MB / 1.247 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.9132, allocations: 2.491 MB / 1.25 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/0.9141, allocations: 1.114 MB / 1.251 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001928/0.9161, allocations: 395.5 kB / 1.251 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.9165, allocations: 87.39 kB / 1.251 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.9165, allocations: 4 kB / 1.251 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of Templates: time 0.5119/1.428, allocations: 19.61 MB / 1.271 GB, free: 227 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches