Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001408/0.001415, allocations: 115.2 kB / 16.37 MB, free: 6.434 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.001098/0.001098, allocations: 197.1 kB / 17.31 MB, free: 5.777 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 70.27 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3587, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001788/0.3605, allocations: 0.5956 MB / 0.9517 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3628, allocations: 1.723 MB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.3628, allocations: 0 / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.3628, allocations: 4 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/0.3629, allocations: 0 / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.3637, allocations: 306.8 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3639, allocations: 127.9 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.364, allocations: 7.984 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/0.364, allocations: 43.97 kB / 0.9539 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3642, allocations: 59.86 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.3642, allocations: 8 kB / 0.9539 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.3647, allocations: 339.5 kB / 0.9543 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.3647, allocations: 43.89 kB / 0.9543 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.3648, allocations: 39.78 kB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.3651, allocations: 287.3 kB / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3652, allocations: 0 / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3652, allocations: 0 / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3652, allocations: 0 / 0.9546 GB, free: 4.508 MB / 0.7325 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.0006638/0.3658, allocations: 439.3 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3659, allocations: 11.97 kB / 0.955 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.3659, allocations: 8.844 kB / 0.955 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.366, allocations: 176.3 kB / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3661, allocations: 11.94 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.3661, allocations: 12 kB / 0.9552 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.3664, allocations: 211.2 kB / 0.9554 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3665, allocations: 7.938 kB / 0.9554 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.3665, allocations: 8 kB / 0.9555 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3665, allocations: 4 kB / 0.9555 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.3668, allocations: 175.8 kB / 0.9556 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.3671, allocations: 278 kB / 0.9559 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.3678, allocations: 419.8 kB / 0.9563 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.368, allocations: 181.2 kB / 0.9565 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.3683, allocations: 195.2 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3684, allocations: 38.5 kB / 0.9567 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.3684, allocations: 4 kB / 0.9567 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0006383/0.369, allocations: 390.5 kB / 0.9571 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.3691, allocations: 187.9 kB / 0.9572 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.3692, allocations: 97.86 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3692, allocations: 29.7 kB / 0.9574 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.3692, allocations: 84.64 kB / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.3693, allocations: 102.5 kB / 0.9575 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.3694, allocations: 57.69 kB / 0.9576 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3695, allocations: 327 kB / 0.9579 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3697, allocations: 83.92 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3698, allocations: 146 kB / 0.9581 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.3702, allocations: 261 kB / 0.9584 GB, free: 236 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3702, allocations: 4 kB / 0.9584 GB, free: 232 kB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004348/0.3706, allocations: 289.3 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3707, allocations: 8 kB / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3707, allocations: 0 / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3707, allocations: 4 kB / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.3709, allocations: 59.89 kB / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3709, allocations: 4 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.049e-05/0.371, allocations: 11.84 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3711, allocations: 15.98 kB / 0.9588 GB, free: 15.84 MB / 0.7481 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.0001166/0.3712, allocations: 149.1 kB / 0.9589 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.3712, allocations: 15.81 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.3718, allocations: 361.5 kB / 0.9593 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3718, allocations: 8.062 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3718, allocations: 4 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3718, allocations: 4 kB / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.3721, allocations: 249.4 kB / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3721, allocations: 4 kB / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.3723, allocations: 59.89 kB / 0.9596 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3723, allocations: 8 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3723, allocations: 4 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3723, allocations: 7.984 kB / 0.9596 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3723, allocations: 0 / 0.9596 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.3728, allocations: 352.9 kB / 0.9599 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3729, allocations: 116.9 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.373, allocations: 11.98 kB / 0.96 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.3731, allocations: 4 kB / 0.9601 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3731, allocations: 27.95 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3731, allocations: 11.98 kB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.3732, allocations: 83.22 kB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.3732, allocations: 0 / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003692/0.3735, allocations: 95.94 kB / 0.9603 GB, free: 14.18 MB / 0.7481 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.0004867/0.374, allocations: 210.9 kB / 0.9605 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.3744, allocations: 252 kB / 0.9607 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3745, allocations: 0 / 0.9607 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.3746, allocations: 143.9 kB / 0.9608 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.3748, allocations: 15.88 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.3754, allocations: 358.5 kB / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3756, allocations: 0.7163 MB / 0.9619 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.3758, allocations: 109.4 kB / 0.962 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.3759, allocations: 31.42 kB / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/0.3759, allocations: 0 / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of Templates: time 0.005316/0.3812, allocations: 2.537 MB / 0.9645 GB, free: 9.758 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches