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.001547/0.001547, allocations: 106.4 kB / 16.41 MB, free: 6.469 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.001576/0.001576, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.18 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.48/2.48, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001615, allocations: 67.89 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001745/1.02, allocations: 0.5897 MB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002481/1.022, allocations: 1.723 MB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/1.022, allocations: 0 / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/1.022, allocations: 0 / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/1.022, allocations: 7.922 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/1.023, allocations: 308.2 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/1.023, allocations: 131.8 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/1.024, allocations: 8 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/1.024, allocations: 51.84 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/1.024, allocations: 51.92 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/1.024, allocations: 4 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/1.024, allocations: 344.1 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/1.024, allocations: 35.91 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/1.024, allocations: 55.7 kB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/1.025, allocations: 271.3 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.025, allocations: 0 / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.025, allocations: 0 / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.16e-06/1.025, allocations: 4 kB / 1.171 GB, free: 264 kB / 0.8887 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.0007048/1.025, allocations: 441.1 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.026, allocations: 8.031 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/1.026, allocations: 12.75 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.026, allocations: 176.2 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.026, allocations: 8.375 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/1.026, allocations: 20.12 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/1.026, allocations: 214.6 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.026, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/1.026, allocations: 11.98 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.026, allocations: 4 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/1.026, allocations: 183.8 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/1.027, allocations: 282.1 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/1.028, allocations: 407.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/1.028, allocations: 177.1 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/1.028, allocations: 207.1 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.028, allocations: 38.55 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/1.028, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.0006527/1.029, allocations: 382.4 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/1.029, allocations: 191.9 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/1.029, allocations: 97.86 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.029, allocations: 29.7 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/1.029, allocations: 80.7 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/1.029, allocations: 98.55 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/1.029, allocations: 65.61 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.029, allocations: 318.8 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/1.03, allocations: 91.92 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/1.03, allocations: 141.4 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/1.03, allocations: 253 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.03, allocations: 0 / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004294/1.031, allocations: 301.2 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.031, allocations: 4 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.031, allocations: 11.94 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.031, allocations: 4 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/1.031, allocations: 51.91 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.031, allocations: 4 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.281e-05/1.031, allocations: 15.84 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/1.031, allocations: 11.98 kB / 1.175 GB, free: 11.59 MB / 0.9044 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.0001266/1.031, allocations: 140.8 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/1.031, allocations: 19.83 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/1.032, allocations: 369.2 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.032, allocations: 8 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.032, allocations: 0 / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.032, allocations: 3.984 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/1.032, allocations: 257.3 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.032, allocations: 4 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.032, allocations: 51.91 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.032, allocations: 4 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/1.032, allocations: 11.98 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.032, allocations: 4 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.032, allocations: 7.984 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/1.033, allocations: 341.5 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/1.033, allocations: 116.9 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/1.033, allocations: 8 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/1.033, allocations: 8 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/1.033, allocations: 23.97 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/1.033, allocations: 15.98 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.448e-05/1.033, allocations: 79.22 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 0 / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004119/1.034, allocations: 95.98 kB / 1.176 GB, free: 9.93 MB / 0.9044 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.0005661/1.034, allocations: 211 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004435/1.035, allocations: 263.8 kB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.035, allocations: 0 / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/1.035, allocations: 139.8 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/1.035, allocations: 14.66 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/1.036, allocations: 400 kB / 1.177 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/1.036, allocations: 0.7124 MB / 1.178 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/1.036, allocations: 35.42 kB / 1.178 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/1.036, allocations: 0 / 1.178 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of Templates: time 0.005619/1.042, allocations: 2.897 MB / 1.181 GB, free: 5.203 MB / 0.9044 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/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