Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001616/0.001616, allocations: 107.1 kB / 16.27 MB, free: 6.41 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.0017/0.0017, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.39 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002087/0.3838, allocations: 0.5894 MB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.3866, allocations: 1.722 MB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.3866, allocations: 0 / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/0.3867, allocations: 4 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.3867, allocations: 0 / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.3877, allocations: 299.9 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3879, allocations: 131.8 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.388, allocations: 4 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.388, allocations: 51.89 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3882, allocations: 47.94 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3882, allocations: 15.94 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.3887, allocations: 295.6 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.3888, allocations: 43.89 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.3888, allocations: 39.73 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.3892, allocations: 287.3 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3893, allocations: 0 / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3893, allocations: 0 / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3893, allocations: 0 / 1.021 GB, free: 7.102 MB / 0.795 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.0007802/0.3901, allocations: 443.3 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3901, allocations: 8.031 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.3902, allocations: 8.844 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3903, allocations: 172.3 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3903, allocations: 12.36 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3904, allocations: 16.12 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.3908, allocations: 216.2 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3908, allocations: 3.938 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.3908, allocations: 8 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3908, allocations: 4 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.3911, allocations: 175.8 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.3914, allocations: 278 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007659/0.3922, allocations: 415.8 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.3925, allocations: 181.1 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.3928, allocations: 195.2 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3929, allocations: 46.5 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/0.3929, allocations: 0 / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.0006827/0.3936, allocations: 385.2 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.3937, allocations: 187.9 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.3938, allocations: 93.86 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3938, allocations: 33.83 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.3939, allocations: 80.7 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.394, allocations: 102.5 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.3941, allocations: 61.69 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3942, allocations: 322.8 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3944, allocations: 91.86 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.3946, allocations: 145 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.395, allocations: 258.5 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.395, allocations: 0 / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004553/0.3954, allocations: 293.6 kB / 1.025 GB, free: 2.535 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3954, allocations: 4 kB / 1.025 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3955, allocations: 4 kB / 1.025 GB, free: 2.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3955, allocations: 4 kB / 1.025 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3957, allocations: 59.89 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.3957, allocations: 11.94 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.3e-05/0.3958, allocations: 15.84 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3959, allocations: 11.98 kB / 1.026 GB, free: 2.426 MB / 0.795 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.0001286/0.396, allocations: 134.4 kB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.396, allocations: 19.75 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.3967, allocations: 356.8 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.3967, allocations: 11.98 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3967, allocations: 4 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3967, allocations: 0 / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.397, allocations: 257.3 kB / 1.026 GB, free: 1.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.397, allocations: 4.438 kB / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.3972, allocations: 59.89 kB / 1.026 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3973, allocations: 4 kB / 1.026 GB, free: 1.527 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.3973, allocations: 12 kB / 1.026 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.3973, allocations: 7.984 kB / 1.026 GB, free: 1.508 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3973, allocations: 0 / 1.026 GB, free: 1.508 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.3978, allocations: 348.9 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.3979, allocations: 116.9 kB / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.398, allocations: 7.984 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.3981, allocations: 8 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.3981, allocations: 27.97 kB / 1.027 GB, free: 0.957 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3982, allocations: 11.98 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.3982, allocations: 75.28 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3982, allocations: 0 / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004062/0.3986, allocations: 99.94 kB / 1.027 GB, free: 0.7734 MB / 0.795 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.0005782/0.3992, allocations: 217.4 kB / 1.027 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.3997, allocations: 275.6 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3997, allocations: 0 / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.3999, allocations: 137 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.4001, allocations: 16 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.4007, allocations: 396.5 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.4011, allocations: 0.7124 MB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.4012, allocations: 39.41 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.4012, allocations: 0 / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.005442/0.4066, allocations: 2.887 MB / 1.032 GB, free: 12.04 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches