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.001865/0.001865, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001907/0.001907, allocations: 193.8 kB / 16.14 MB, free: 6.711 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.813/2.813, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7991, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002109/0.8013, allocations: 0.6611 MB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.804, allocations: 1.772 MB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.804, allocations: 3.938 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.8041, allocations: 3.938 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.003e-05/0.8041, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.8049, allocations: 247 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.8051, allocations: 127.8 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.8051, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.759e-05/0.8052, allocations: 47.86 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.8053, allocations: 55.91 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.8053, allocations: 12 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.8058, allocations: 287.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.8059, allocations: 39.89 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.8059, allocations: 47.72 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.8063, allocations: 275.4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8063, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8063, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8064, allocations: 0 / 1.02 GB, free: 15.16 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.0007225/0.8071, allocations: 441.4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.8071, allocations: 12.03 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.8072, allocations: 8.844 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.8073, allocations: 176.2 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.8073, allocations: 8.375 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.8074, allocations: 16.12 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.8077, allocations: 214.6 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.8078, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.8078, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8078, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.8081, allocations: 179.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.8085, allocations: 282 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.8092, allocations: 407.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.8095, allocations: 189.1 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.8099, allocations: 199.1 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.8099, allocations: 50.48 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.362e-06/0.8099, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0007022/0.8106, allocations: 381.2 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.8108, allocations: 187.9 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.8108, allocations: 89.86 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.8109, allocations: 33.7 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.8109, allocations: 88.83 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.811, allocations: 106.4 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.8111, allocations: 53.69 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8113, allocations: 322.8 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.8114, allocations: 91.92 kB / 1.023 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.8116, allocations: 135.1 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.812, allocations: 268.9 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.812, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000452/0.8125, allocations: 293.4 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.8125, allocations: 9.547 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.8125, allocations: 0 / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8125, allocations: 4 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.8128, allocations: 55.97 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.8128, allocations: 7.938 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.419e-05/0.8129, allocations: 15.84 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.8129, allocations: 11.98 kB / 1.024 GB, free: 10.49 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.0001181/0.8131, allocations: 133.8 kB / 1.024 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.8131, allocations: 19.75 kB / 1.024 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/0.8137, allocations: 352.9 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.8137, allocations: 4 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8138, allocations: 4.562 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.8138, allocations: 7.984 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.814, allocations: 257.3 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8141, allocations: 0 / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.8143, allocations: 63.91 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.8143, allocations: 0 / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.8143, allocations: 15.98 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.8143, allocations: 3.938 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8143, allocations: 4 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.8148, allocations: 342.5 kB / 1.025 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.815, allocations: 120.8 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.815, allocations: 8 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.8151, allocations: 8 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.8152, allocations: 27.91 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.8152, allocations: 15.98 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.8152, allocations: 75.28 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.194e-06/0.8152, allocations: 0 / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000392/0.8156, allocations: 99.92 kB / 1.026 GB, free: 8.844 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.0005438/0.8162, allocations: 211.3 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.8166, allocations: 252.4 kB / 1.026 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8166, allocations: 4 kB / 1.026 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.8168, allocations: 140.7 kB / 1.026 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.817, allocations: 12.41 kB / 1.026 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.8176, allocations: 408.4 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.818, allocations: 0.7166 MB / 1.027 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.8182, allocations: 109.4 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.8183, allocations: 27.42 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8183, allocations: 0 / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.006192/0.8245, allocations: 2.506 MB / 1.03 GB, free: 4.422 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=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/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