Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 216 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.145/3.145, allocations: 0.4892 GB / 0.7951 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 76.48 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3758, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001874/0.3777, allocations: 0.6053 MB / 1.327 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.3804, allocations: 1.729 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.3804, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.3805, allocations: 3.938 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.3805, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.3814, allocations: 313 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3816, allocations: 135.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.3817, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.3817, allocations: 47.95 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3819, allocations: 67.8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3819, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.3824, allocations: 337.1 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.3825, allocations: 35.91 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.3825, allocations: 39.84 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.3829, allocations: 287.1 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3829, allocations: 4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3829, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3829, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 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.0006634/0.3836, allocations: 377.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3836, allocations: 8.031 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.3837, allocations: 16.83 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3838, allocations: 118.4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3838, allocations: 8.375 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3839, allocations: 12.12 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.3842, allocations: 210.7 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3842, allocations: 3.938 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.3842, allocations: 12 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3843, allocations: 4 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.3845, allocations: 175.8 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.3848, allocations: 205.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.3856, allocations: 383.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.3858, allocations: 173.2 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.3861, allocations: 40.95 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.3861, allocations: 54.34 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.3861, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0006884/0.3868, allocations: 390.6 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.3869, allocations: 183.9 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.387, allocations: 93.84 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3871, allocations: 33.7 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.3871, allocations: 80.64 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3872, allocations: 103.1 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.3873, allocations: 57.69 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3874, allocations: 322.8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3876, allocations: 84.06 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.3878, allocations: 149.5 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3882, allocations: 261.1 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3882, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004832/0.3887, allocations: 293.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3887, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3887, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.3887, allocations: 4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.3889, allocations: 67.83 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.389, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3891, allocations: 19.84 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3891, allocations: 16 kB / 1.334 GB, free: 10.05 MB / 1.029 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.000137/0.3892, allocations: 142.2 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.3893, allocations: 15.83 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.3899, allocations: 361.5 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3899, allocations: 4 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.3899, allocations: 11.98 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3899, allocations: 0 / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.3901, allocations: 185.1 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3901, allocations: 0 / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.3903, allocations: 63.89 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3903, allocations: 7.938 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3904, allocations: 15.98 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.3904, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.3904, allocations: 4 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.3909, allocations: 337.2 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.391, allocations: 43.81 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.391, allocations: 15.92 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.3911, allocations: 4 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.3911, allocations: 27.95 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3912, allocations: 8 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.3912, allocations: 79.28 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3912, allocations: 0 / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003982/0.3916, allocations: 103.8 kB / 1.335 GB, free: 8.566 MB / 1.029 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.0003891/0.392, allocations: 202.9 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.3924, allocations: 232.2 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3924, allocations: 0 / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.3926, allocations: 132.7 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.3928, allocations: 23.12 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.3934, allocations: 392.1 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.3935, allocations: 103.7 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.3936, allocations: 35.41 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3936, allocations: 0 / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of Templates: time 0.0055/0.3991, allocations: 3.048 MB / 1.339 GB, free: 4.344 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.594833823852241]