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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.468/2.468, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 172.5 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.837/1.837, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 95.81 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.832e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3449, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.548/6.893, allocations: 1.896 GB / 3.108 GB, free: 429.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/6.893, allocations: 84.45 kB / 3.108 GB, free: 429.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.158/11.05, allocations: 0.9984 GB / 4.107 GB, free: 222.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.535e-06/11.05, allocations: 0 / 4.107 GB, free: 222.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001915/11.05, allocations: 29.42 kB / 4.107 GB, free: 222 MB / 1.151 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.007654/11.06, allocations: 1.793 MB / 4.109 GB, free: 221.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/11.06, allocations: 9.781 kB / 4.109 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/11.06, allocations: 0.5451 MB / 4.109 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/11.07, allocations: 1.075 MB / 4.11 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006959/11.07, allocations: 158.5 kB / 4.11 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/11.07, allocations: 51.25 kB / 4.11 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002131/11.07, allocations: 0.998 MB / 4.111 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/11.07, allocations: 1.029 MB / 4.112 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/11.07, allocations: 0 / 4.112 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/11.07, allocations: 3.969 kB / 4.112 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.571e-05/11.07, allocations: 42.97 kB / 4.112 GB, free: 220.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01152/11.08, allocations: 4.031 MB / 4.116 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/11.09, allocations: 0.7248 MB / 4.117 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/11.09, allocations: 0.4904 MB / 4.117 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/11.09, allocations: 0.6088 MB / 4.118 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/11.09, allocations: 42.22 kB / 4.118 GB, free: 218.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 4.208e-06/11.09, allocations: 0 / 4.118 GB, free: 218.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.004315/11.09, allocations: 1.133 MB / 4.119 GB, free: 218.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/11.09, allocations: 59.03 kB / 4.119 GB, free: 218.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/11.1, allocations: 0.5606 MB / 4.12 GB, free: 218.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002214/11.1, allocations: 29.64 kB / 4.12 GB, free: 218.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/11.1, allocations: 456.3 kB / 4.12 GB, free: 218.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/11.1, allocations: 249 kB / 4.12 GB, free: 218.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.844e-05/11.1, allocations: 2.688 kB / 4.12 GB, free: 218.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001191/11.1, allocations: 332.1 kB / 4.121 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009915/11.1, allocations: 401.2 kB / 4.121 GB, free: 217.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/11.1, allocations: 0.5262 MB / 4.122 GB, free: 217.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/11.1, allocations: 0.5758 MB / 4.122 GB, free: 217.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/11.1, allocations: 3.953 kB / 4.122 GB, free: 217.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004082/11.11, allocations: 1.18 MB / 4.123 GB, free: 217.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/11.11, allocations: 485.8 kB / 4.124 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/11.11, allocations: 3.719 kB / 4.124 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/11.11, allocations: 3.375 kB / 4.124 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/11.11, allocations: 273.1 kB / 4.124 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/11.11, allocations: 1.212 MB / 4.125 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/11.11, allocations: 172.5 kB / 4.125 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/11.11, allocations: 38.08 kB / 4.126 GB, free: 215.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/11.11, allocations: 6.438 kB / 4.126 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003686/11.12, allocations: 1.066 MB / 4.127 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/11.12, allocations: 0 / 4.127 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/11.12, allocations: 7.75 kB / 4.127 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/11.12, allocations: 258.4 kB / 4.127 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/11.12, allocations: 6.562 kB / 4.127 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/11.12, allocations: 172.4 kB / 4.127 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/11.12, allocations: 38.78 kB / 4.127 GB, free: 215.9 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0004429/11.12, allocations: 120.3 kB / 4.127 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005066/11.12, allocations: 91.56 kB / 4.127 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004171/11.13, allocations: 1.213 MB / 4.128 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/11.13, allocations: 3.969 kB / 4.128 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/11.13, allocations: 3.5 kB / 4.128 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/11.13, allocations: 3.797 kB / 4.128 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008185/11.13, allocations: 2.577 MB / 4.131 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/11.14, allocations: 6.062 kB / 4.131 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/11.14, allocations: 257.6 kB / 4.131 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.666e-05/11.14, allocations: 8.906 kB / 4.131 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/11.14, allocations: 16.16 kB / 4.131 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006912/11.14, allocations: 1.199 MB / 4.132 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/11.14, allocations: 3.688 kB / 4.132 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/11.14, allocations: 1.484 MB / 4.134 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/11.14, allocations: 308.2 kB / 4.134 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/11.14, allocations: 10.3 kB / 4.134 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002838/11.15, allocations: 155.3 kB / 4.134 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/11.15, allocations: 63.88 kB / 4.134 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/11.15, allocations: 42.23 kB / 4.134 GB, free: 213.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001508/11.15, allocations: 442.6 kB / 4.135 GB, free: 213.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.986e-06/11.15, allocations: 0 / 4.135 GB, free: 213.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005345/11.15, allocations: 0.6766 MB / 4.135 GB, free: 213.1 MB / 1.151 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 () * 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.007802/11.16, allocations: 2.626 MB / 4.138 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005557/11.17, allocations: 1.608 MB / 4.14 GB, free: 212.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/11.17, allocations: 2.938 kB / 4.14 GB, free: 212.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/11.17, allocations: 0.5173 MB / 4.14 GB, free: 212.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/11.17, allocations: 430.8 kB / 4.141 GB, free: 212.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02355/11.2, allocations: 2.323 MB / 4.143 GB, free: 211.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008736/11.2, allocations: 1.113 MB / 4.144 GB, free: 210.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004306/11.2, allocations: 450.1 kB / 4.144 GB, free: 210.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/11.2, allocations: 75.09 kB / 4.144 GB, free: 210.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.613e-06/11.2, allocations: 0 / 4.144 GB, free: 210.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06277/11.27, allocations: 31.15 MB / 4.175 GB, free: 200.7 MB / 1.151 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