Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 106.9 kB / 15.99 MB, free: 6.348 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.001827/0.001827, allocations: 199.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 61.59 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3658, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001924/0.3678, allocations: 0.6657 MB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.3703, allocations: 1.716 MB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.3704, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.3704, allocations: 4 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.3705, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.3714, allocations: 275.1 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3716, allocations: 131.8 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.3716, allocations: 4 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.3717, allocations: 59.83 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3718, allocations: 55.92 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3719, allocations: 4 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.3723, allocations: 294.4 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.3724, allocations: 35.91 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.3724, allocations: 51.7 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.3727, allocations: 179.7 kB / 1.068 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3727, allocations: 0 / 1.068 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3727, allocations: 0 / 1.068 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3728, allocations: 3.938 kB / 1.068 GB, free: 11.64 MB / 0.8419 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.000773/0.3735, allocations: 443.3 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3736, allocations: 8.625 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.3736, allocations: 12.84 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3738, allocations: 168.3 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3738, allocations: 12.38 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3738, allocations: 16.12 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.3742, allocations: 218.7 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3742, allocations: 3.938 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3742, allocations: 7.938 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3743, allocations: 4 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.3745, allocations: 175.8 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.3749, allocations: 286 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.3756, allocations: 411.8 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.3759, allocations: 177.1 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.3763, allocations: 207.1 kB / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3763, allocations: 42.56 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.303e-06/0.3763, allocations: 0 / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.0006799/0.377, allocations: 382.4 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.3771, allocations: 183.9 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.3772, allocations: 101.8 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3772, allocations: 25.7 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.3773, allocations: 84.7 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3774, allocations: 106.5 kB / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.3775, allocations: 53.69 kB / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3776, allocations: 326.8 kB / 1.071 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3778, allocations: 79.94 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.378, allocations: 151.4 kB / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.3783, allocations: 257.2 kB / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3784, allocations: 4 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004403/0.3788, allocations: 289.2 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3788, allocations: 8 kB / 1.072 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3788, allocations: 4 kB / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3789, allocations: 4 kB / 1.072 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.3791, allocations: 55.91 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3791, allocations: 7.984 kB / 1.072 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.3792, allocations: 19.75 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3793, allocations: 8 kB / 1.072 GB, free: 6.977 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.3794, allocations: 137.8 kB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.3794, allocations: 15.84 kB / 1.072 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006067/0.38, allocations: 361.4 kB / 1.072 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3801, allocations: 4 kB / 1.072 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3801, allocations: 3.938 kB / 1.072 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3801, allocations: 7.984 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.3804, allocations: 265.2 kB / 1.072 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3804, allocations: 3.938 kB / 1.072 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.3806, allocations: 63.89 kB / 1.072 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3806, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3806, allocations: 8 kB / 1.072 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3807, allocations: 4 kB / 1.073 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.3807, allocations: 8 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.3812, allocations: 341.5 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3813, allocations: 116.9 kB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3813, allocations: 12 kB / 1.073 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.3814, allocations: 4 kB / 1.073 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3815, allocations: 27.95 kB / 1.073 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3815, allocations: 8 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.25e-05/0.3815, allocations: 79.28 kB / 1.073 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3815, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003873/0.3819, allocations: 99.92 kB / 1.073 GB, free: 5.32 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005461/0.3825, allocations: 217.9 kB / 1.073 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.3829, allocations: 275.6 kB / 1.074 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3829, allocations: 0 / 1.074 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.3831, allocations: 139.8 kB / 1.074 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.3833, allocations: 11.98 kB / 1.074 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.384, allocations: 428.1 kB / 1.074 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3843, allocations: 0.7163 MB / 1.075 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.3844, allocations: 35.41 kB / 1.075 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3844, allocations: 0 / 1.075 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of Templates: time 0.005329/0.3898, allocations: 2.888 MB / 1.078 GB, free: 0.5547 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches