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.0008165/0.0008168, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005735/0.005735, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.599/2.599, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003438, allocations: 12 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.6834, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007418/0.6842, allocations: 324.5 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.6865, allocations: 1.749 MB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.6865, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.6866, allocations: 7.844 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.261e-05/0.6866, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.6874, allocations: 243.5 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.6875, allocations: 131.8 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.6876, allocations: 4 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.6877, allocations: 47.91 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.6878, allocations: 55.92 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.6878, allocations: 8 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.6882, allocations: 288.4 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.6883, allocations: 39.91 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.6884, allocations: 73.42 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.6887, allocations: 275.4 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.6887, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6887, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.6888, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 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.0005936/0.6894, allocations: 429.2 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6894, allocations: 8.031 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.6894, allocations: 8.844 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.6895, allocations: 172.3 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.6896, allocations: 8.375 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.6896, allocations: 16.12 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.6899, allocations: 218.6 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6899, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.69, allocations: 8 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.69, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.6903, allocations: 175.7 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.6905, allocations: 278.1 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/0.6912, allocations: 411.8 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.6915, allocations: 189.1 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.6918, allocations: 195.2 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.6918, allocations: 46.5 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.6918, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006074/0.6924, allocations: 381.2 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.6925, allocations: 191.8 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.6926, allocations: 93.86 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.6926, allocations: 33.7 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.6927, allocations: 80.7 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.6927, allocations: 106.6 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.6928, allocations: 29.7 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.6929, allocations: 322.8 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.693, allocations: 83.94 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.6932, allocations: 145.5 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.6935, allocations: 262.4 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6935, allocations: 0 / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000397/0.6939, allocations: 289.6 kB / 1.03 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.694, allocations: 8 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.694, allocations: 7.938 kB / 1.03 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.694, allocations: 4 kB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.6942, allocations: 55.91 kB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6942, allocations: 7.984 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.6943, allocations: 15.84 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.6944, allocations: 12 kB / 1.03 GB, free: 7.977 MB / 0.7794 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.0001063/0.6945, allocations: 143.6 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.6945, allocations: 15.84 kB / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.6951, allocations: 352.8 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6951, allocations: 4 kB / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.6951, allocations: 0 / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6951, allocations: 7.984 kB / 1.031 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.6954, allocations: 257.3 kB / 1.031 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6954, allocations: 3.938 kB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.6956, allocations: 51.97 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.6956, allocations: 8.359 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.6957, allocations: 8 kB / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/0.6957, allocations: 11.94 kB / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6957, allocations: 0 / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.6961, allocations: 338.6 kB / 1.031 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.6962, allocations: 128.8 kB / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.6962, allocations: 11.94 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.6963, allocations: 4 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.6964, allocations: 27.95 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.6964, allocations: 15.98 kB / 1.032 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.89e-05/0.6964, allocations: 83.28 kB / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6964, allocations: 0 / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003763/0.6968, allocations: 91.98 kB / 1.032 GB, free: 6.328 MB / 0.7794 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.0004949/0.6973, allocations: 216 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.6977, allocations: 255.9 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6977, allocations: 0 / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.6979, allocations: 144.7 kB / 1.032 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.6981, allocations: 12 kB / 1.032 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.6987, allocations: 400.9 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.6989, allocations: 0.7166 MB / 1.033 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.6991, allocations: 105.4 kB / 1.034 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.6992, allocations: 35.41 kB / 1.034 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6992, allocations: 0 / 1.034 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.005238/0.7045, allocations: 2.481 MB / 1.036 GB, free: 1.926 MB / 0.7794 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=480 -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/jenkins/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