Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001875/0.001875, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.002337/0.002337, allocations: 156.8 kB / 23.01 MB, free: 4.941 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.664/2.664, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002096/0.002096, allocations: 71.88 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3325, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002543/0.335, allocations: 0.5949 MB / 1.118 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002918/0.3379, allocations: 1.74 MB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.338, allocations: 4 kB / 1.12 GB, free: 180 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.338, allocations: 3.938 kB / 1.12 GB, free: 176 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.308e-05/0.338, allocations: 0 / 1.12 GB, free: 176 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.339, allocations: 312 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.3392, allocations: 131.8 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.3392, allocations: 0 / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.3393, allocations: 43.97 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3394, allocations: 67.84 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3395, allocations: 4 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005624/0.34, allocations: 327.6 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.3401, allocations: 39.89 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.3402, allocations: 39.78 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.3406, allocations: 283.3 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3406, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3406, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3406, allocations: 4 kB / 1.121 GB, free: 14.95 MB / 1.076 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.0007312/0.3413, allocations: 377.6 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3414, allocations: 11.97 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.3414, allocations: 12.89 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3415, allocations: 110.5 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3416, allocations: 12.38 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.3416, allocations: 16.12 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.342, allocations: 219.4 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.342, allocations: 0 / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.342, allocations: 8 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.342, allocations: 4 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.3423, allocations: 175.7 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.3426, allocations: 205.8 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.3433, allocations: 391.8 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.3436, allocations: 169.2 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.3439, allocations: 40.97 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3439, allocations: 46.44 kB / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.3439, allocations: 0 / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.0006954/0.3446, allocations: 386.4 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.3447, allocations: 191.9 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.014e-05/0.3448, allocations: 93.84 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3448, allocations: 37.83 kB / 1.123 GB, free: 12.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.3449, allocations: 80.64 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.345, allocations: 111 kB / 1.124 GB, free: 12.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.345, allocations: 57.69 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3452, allocations: 322.8 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3453, allocations: 83.94 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.3455, allocations: 141.1 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.3459, allocations: 261.2 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3459, allocations: 4 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004669/0.3464, allocations: 289.3 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3464, allocations: 8 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3464, allocations: 4 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3464, allocations: 4 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3467, allocations: 55.89 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3467, allocations: 4 kB / 1.125 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3468, allocations: 20.22 kB / 1.125 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.3468, allocations: 8 kB / 1.125 GB, free: 10.73 MB / 1.076 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.0001337/0.3469, allocations: 141.8 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.347, allocations: 15.89 kB / 1.125 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.3476, allocations: 364.9 kB / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3476, allocations: 4 kB / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3476, allocations: 8 kB / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.3476, allocations: 3.984 kB / 1.125 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.3479, allocations: 185.1 kB / 1.125 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3479, allocations: 0 / 1.125 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.3481, allocations: 59.89 kB / 1.125 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3481, allocations: 3.938 kB / 1.125 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3481, allocations: 11.98 kB / 1.126 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3481, allocations: 4 kB / 1.126 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3481, allocations: 4 kB / 1.126 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.3486, allocations: 345.5 kB / 1.126 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.3487, allocations: 47.81 kB / 1.126 GB, free: 9.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3488, allocations: 11.92 kB / 1.126 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.3489, allocations: 4 kB / 1.126 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.3489, allocations: 27.95 kB / 1.126 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.3489, allocations: 12 kB / 1.126 GB, free: 9.426 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.349, allocations: 75.28 kB / 1.126 GB, free: 9.352 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 0 / 1.126 GB, free: 9.352 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004196/0.3494, allocations: 99.8 kB / 1.126 GB, free: 9.254 MB / 1.076 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.0003789/0.3498, allocations: 206.9 kB / 1.126 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000427/0.3502, allocations: 243.8 kB / 1.127 GB, free: 8.805 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3502, allocations: 0 / 1.127 GB, free: 8.805 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.3504, allocations: 127.8 kB / 1.127 GB, free: 8.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.3506, allocations: 26.45 kB / 1.127 GB, free: 8.656 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.3512, allocations: 349.2 kB / 1.127 GB, free: 8.281 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.953e-05/0.3513, allocations: 99.77 kB / 1.127 GB, free: 8.164 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002402/0.3515, allocations: 113.3 kB / 1.127 GB, free: 8.055 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.3516, allocations: 32.48 kB / 1.127 GB, free: 8.023 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.3516, allocations: 0 / 1.127 GB, free: 8.023 MB / 1.076 GB Notification: Performance of Templates: time 0.006343/0.3579, allocations: 2.502 MB / 1.13 GB, free: 5.523 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.738126373034902]