Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 180.9 kB / 326.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.001009, allocations: 98.34 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 8.844 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.3673, allocations: 134.3 MB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.3675, allocations: 83.95 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04265/0.4102, allocations: 14.91 MB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4102, allocations: 0 / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4103, allocations: 0 / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006532/0.4109, allocations: 443 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.411, allocations: 12.02 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.411, allocations: 7.906 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.4111, allocations: 174.9 kB / 1.046 GB, free: 9.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4111, allocations: 8 kB / 1.046 GB, free: 9.812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.4111, allocations: 12 kB / 1.046 GB, free: 9.801 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.4115, allocations: 222.6 kB / 1.047 GB, free: 9.559 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4115, allocations: 0 / 1.047 GB, free: 9.559 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4115, allocations: 4 kB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4116, allocations: 7.984 kB / 1.047 GB, free: 9.547 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.4118, allocations: 175.8 kB / 1.047 GB, free: 9.375 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.4121, allocations: 282.1 kB / 1.047 GB, free: 9.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.4128, allocations: 407.8 kB / 1.048 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/0.4131, allocations: 199.3 kB / 1.048 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4131, allocations: 42.5 kB / 1.048 GB, free: 8.301 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.4131, allocations: 0 / 1.048 GB, free: 8.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0006004/0.4137, allocations: 386.1 kB / 1.048 GB, free: 7.918 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.4138, allocations: 191.9 kB / 1.048 GB, free: 7.688 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.122e-05/0.4138, allocations: 85 kB / 1.048 GB, free: 7.598 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.4139, allocations: 29.7 kB / 1.048 GB, free: 7.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.4139, allocations: 80.7 kB / 1.048 GB, free: 7.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.414, allocations: 106.4 kB / 1.049 GB, free: 7.375 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.414, allocations: 4 kB / 1.049 GB, free: 7.371 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.4141, allocations: 322.8 kB / 1.049 GB, free: 7.047 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.4143, allocations: 95.86 kB / 1.049 GB, free: 6.953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.4144, allocations: 137.5 kB / 1.049 GB, free: 6.801 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.4146, allocations: 111.9 kB / 1.049 GB, free: 6.691 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4146, allocations: 0 / 1.049 GB, free: 6.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003967/0.415, allocations: 289.8 kB / 1.05 GB, free: 6.402 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.415, allocations: 4 kB / 1.05 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.415, allocations: 8 kB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.415, allocations: 0 / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.4153, allocations: 63.89 kB / 1.05 GB, free: 6.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4153, allocations: 0 / 1.05 GB, free: 6.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4154, allocations: 19.84 kB / 1.05 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4155, allocations: 11.98 kB / 1.05 GB, free: 6.297 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.4156, allocations: 133.8 kB / 1.05 GB, free: 6.156 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.4156, allocations: 11.86 kB / 1.05 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/0.4162, allocations: 365.5 kB / 1.05 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.4162, allocations: 12 kB / 1.05 GB, free: 5.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4162, allocations: 0 / 1.05 GB, free: 5.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4162, allocations: 4 kB / 1.05 GB, free: 5.766 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4164, allocations: 249.4 kB / 1.05 GB, free: 5.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4165, allocations: 4 kB / 1.05 GB, free: 5.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.4167, allocations: 59.89 kB / 1.05 GB, free: 5.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.4167, allocations: 7.953 kB / 1.05 GB, free: 5.402 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4167, allocations: 7.984 kB / 1.05 GB, free: 5.395 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.4167, allocations: 4 kB / 1.05 GB, free: 5.391 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4167, allocations: 4 kB / 1.05 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.4172, allocations: 401.6 kB / 1.051 GB, free: 4.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.4172, allocations: 88.95 kB / 1.051 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.4173, allocations: 8 kB / 1.051 GB, free: 4.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4174, allocations: 11.95 kB / 1.051 GB, free: 4.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.4174, allocations: 23.95 kB / 1.051 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.4175, allocations: 12 kB / 1.051 GB, free: 4.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.214e-05/0.4175, allocations: 79.28 kB / 1.051 GB, free: 4.691 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4175, allocations: 0 / 1.051 GB, free: 4.691 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004418/0.4179, allocations: 115.8 kB / 1.051 GB, free: 4.578 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004863/0.4184, allocations: 235 kB / 1.051 GB, free: 4.348 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.4188, allocations: 247.8 kB / 1.052 GB, free: 4.105 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4188, allocations: 0 / 1.052 GB, free: 4.105 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.419, allocations: 143.8 kB / 1.052 GB, free: 3.965 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.4191, allocations: 11.19 kB / 1.052 GB, free: 3.957 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.4196, allocations: 380.3 kB / 1.052 GB, free: 3.543 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.4199, allocations: 0.7166 MB / 1.053 GB, free: 2.797 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.4201, allocations: 109.4 kB / 1.053 GB, free: 2.691 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.4202, allocations: 27.42 kB / 1.053 GB, free: 2.664 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.4202, allocations: 0 / 1.053 GB, free: 2.664 MB / 0.698 GB Notification: Performance of Templates: time 0.004619/0.4248, allocations: 2.278 MB / 1.055 GB, free: 396 kB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches