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.001661/0.001661, allocations: 108 kB / 15.6 MB, free: 132 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.002076/0.002076, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.642/2.642, allocations: 437 MB / 0.7103 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.88 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.6466, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001903/0.6485, allocations: 0.5871 MB / 1.018 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.651, allocations: 1.717 MB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.651, allocations: 0 / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.6511, allocations: 0 / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.6511, allocations: 0 / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009663/0.6521, allocations: 313.2 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.6523, allocations: 127.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.6523, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.6524, allocations: 51.89 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.6525, allocations: 55.88 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.6526, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004781/0.653, allocations: 291.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.6531, allocations: 47.89 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.6532, allocations: 43.73 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.6536, allocations: 279.4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6536, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6536, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.6536, allocations: 0 / 1.021 GB, free: 15.18 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.0006623/0.6543, allocations: 447.1 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.6543, allocations: 16.03 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.6544, allocations: 8.844 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.6545, allocations: 176.2 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.6545, allocations: 8.375 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.6545, allocations: 16.12 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.6549, allocations: 211.2 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6549, allocations: 3.938 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.6549, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6549, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.6552, allocations: 179.8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.6555, allocations: 278.1 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.6562, allocations: 411.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.6565, allocations: 185.1 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.6568, allocations: 191.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.6568, allocations: 46.48 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 2.264e-06/0.6569, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.000644/0.6575, allocations: 394.4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.6576, allocations: 183.9 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.199e-05/0.6577, allocations: 89.86 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.6577, allocations: 33.7 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.6577, allocations: 80.7 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.6578, allocations: 98.56 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.6579, allocations: 61.8 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.658, allocations: 318.8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.6581, allocations: 87.92 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.6583, allocations: 146 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.6587, allocations: 265.2 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6587, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004464/0.6591, allocations: 289.3 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6592, allocations: 11.92 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6592, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.6592, allocations: 4 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.6594, allocations: 63.84 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.6595, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.6596, allocations: 11.84 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.6596, allocations: 19.98 kB / 1.025 GB, free: 10.5 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.0001243/0.6597, allocations: 137.8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.6598, allocations: 15.75 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.6604, allocations: 373.4 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6604, allocations: 4 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6604, allocations: 4 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6604, allocations: 3.984 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.6607, allocations: 253.4 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6607, allocations: 4 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.6609, allocations: 59.91 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.661, allocations: 4 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.661, allocations: 7.984 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.661, allocations: 0 / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.661, allocations: 4 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.6615, allocations: 349 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.6616, allocations: 120.8 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.6616, allocations: 8 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/0.6617, allocations: 8 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.6618, allocations: 19.97 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.6618, allocations: 15.98 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.629e-05/0.6618, allocations: 79.28 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6618, allocations: 0 / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003767/0.6622, allocations: 91.98 kB / 1.026 GB, free: 8.855 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.000464/0.6627, allocations: 216.7 kB / 1.027 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.6631, allocations: 279.7 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6631, allocations: 8 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.6633, allocations: 135.8 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.6635, allocations: 15.94 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.664, allocations: 360.1 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.6643, allocations: 0.7163 MB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.6645, allocations: 109.4 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.6646, allocations: 27.42 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6646, allocations: 0 / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of Templates: time 0.005434/0.67, allocations: 2.55 MB / 1.031 GB, free: 4.398 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