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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0011/0.0011, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001513, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.000411, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8873, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0008758/0.8882, allocations: 332.7 kB / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.8912, allocations: 1.749 MB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.8912, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.8913, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.8913, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.8924, allocations: 259 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.8926, allocations: 115.9 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.8927, allocations: 0 / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.8928, allocations: 51.89 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.8929, allocations: 59.92 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.8929, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006748/0.8936, allocations: 291.6 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.8937, allocations: 39.89 kB / 1.027 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.924e-05/0.8938, allocations: 73.42 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.8942, allocations: 175.7 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.8942, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.647e-06/0.8942, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8942, allocations: 4 kB / 1.027 GB, free: 12.76 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.0007563/0.895, allocations: 421.3 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.895, allocations: 12.03 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.8951, allocations: 16.77 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.8953, allocations: 172.3 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.8953, allocations: 8.375 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.8953, allocations: 16.12 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.8957, allocations: 218.6 kB / 1.028 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8957, allocations: 0 / 1.028 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.8957, allocations: 8 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.8958, allocations: 4 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.896, allocations: 179.7 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.8964, allocations: 278.1 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.8971, allocations: 411.8 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.8974, allocations: 181.1 kB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.8978, allocations: 207.1 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.8978, allocations: 42.5 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.8978, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006576/0.8985, allocations: 386.4 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.8986, allocations: 191.9 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.8987, allocations: 97.8 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.8987, allocations: 29.7 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.8987, allocations: 84.69 kB / 1.03 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.8989, allocations: 106.6 kB / 1.03 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.8989, allocations: 25.72 kB / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.899, allocations: 322.8 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.8992, allocations: 87.92 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.8994, allocations: 137.6 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.8997, allocations: 265.1 kB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/0.8997, allocations: 4 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004269/0.9002, allocations: 285.3 kB / 1.031 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.9002, allocations: 8 kB / 1.031 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9002, allocations: 0 / 1.031 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.9002, allocations: 4 kB / 1.031 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.9005, allocations: 55.89 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.9005, allocations: 4 kB / 1.031 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.9006, allocations: 15.84 kB / 1.031 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.9006, allocations: 15.98 kB / 1.031 GB, free: 8.133 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.0001319/0.9007, allocations: 138.3 kB / 1.031 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.9008, allocations: 15.84 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005856/0.9014, allocations: 365.1 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.9014, allocations: 4 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9014, allocations: 0 / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.9014, allocations: 4 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.9017, allocations: 265.3 kB / 1.032 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9017, allocations: 4 kB / 1.032 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.9019, allocations: 51.97 kB / 1.032 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.9019, allocations: 0 / 1.032 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.9019, allocations: 11.98 kB / 1.032 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.902, allocations: 7.938 kB / 1.032 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.902, allocations: 4 kB / 1.032 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.9024, allocations: 342.5 kB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.9026, allocations: 128.7 kB / 1.032 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.9026, allocations: 8 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.9027, allocations: 4.375 kB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.9027, allocations: 23.97 kB / 1.032 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.9028, allocations: 15.98 kB / 1.032 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.9028, allocations: 83.28 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9028, allocations: 0 / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004231/0.9032, allocations: 87.98 kB / 1.032 GB, free: 6.484 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.0005853/0.9038, allocations: 218.6 kB / 1.033 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.9043, allocations: 252 kB / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9043, allocations: 4 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.9045, allocations: 143.8 kB / 1.033 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.9047, allocations: 13.55 kB / 1.033 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.9053, allocations: 422 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.9055, allocations: 0.718 MB / 1.034 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.9056, allocations: 39.41 kB / 1.034 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.9056, allocations: 0 / 1.034 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of Templates: time 0.00579/0.9114, allocations: 2.871 MB / 1.037 GB, free: 1.758 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/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