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.001726/0.001726, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002297/0.002297, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.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.8/2.8, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 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.002025/0.002025, allocations: 69.09 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002008/0.3797, allocations: 0.6108 MB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.3828, allocations: 1.812 MB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.3828, allocations: 0 / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.3828, allocations: 4 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.3829, allocations: 0 / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.3839, allocations: 310.8 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.3842, allocations: 127.9 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.3842, allocations: 4 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.3843, allocations: 51.89 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3844, allocations: 59.86 kB / 1.288 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.3845, allocations: 8 kB / 1.288 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.3851, allocations: 347.6 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.3851, allocations: 51.89 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.3852, allocations: 39.78 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.3856, allocations: 275.2 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.557e-06/0.3856, allocations: 4 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.118e-06/0.3856, allocations: 4 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3856, allocations: 0 / 1.288 GB, free: 7.559 MB / 0.9825 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.0007736/0.3864, allocations: 381.6 kB / 1.289 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3865, allocations: 8.031 kB / 1.289 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.3865, allocations: 8.891 kB / 1.289 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3866, allocations: 118.4 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3866, allocations: 12.38 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.3867, allocations: 16.12 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.3871, allocations: 219.9 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3871, allocations: 0 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3871, allocations: 4 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3871, allocations: 4 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.3874, allocations: 179.8 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.3878, allocations: 249.2 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007975/0.3886, allocations: 395.8 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.3888, allocations: 165.1 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.3891, allocations: 44.89 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.3891, allocations: 42.56 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.3891, allocations: 0 / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007261/0.3899, allocations: 390.5 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.39, allocations: 183.9 kB / 1.291 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.3901, allocations: 97.86 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3901, allocations: 33.64 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.3901, allocations: 80.64 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.3903, allocations: 111.2 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3904, allocations: 61.62 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3906, allocations: 322.8 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3907, allocations: 83.92 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.3909, allocations: 137.6 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.3913, allocations: 265.1 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3913, allocations: 0 / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004719/0.3918, allocations: 289.3 kB / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3918, allocations: 4 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3918, allocations: 4 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.3919, allocations: 7.984 kB / 1.292 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.3921, allocations: 55.91 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3921, allocations: 7.938 kB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.3922, allocations: 19.84 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3922, allocations: 15.98 kB / 1.292 GB, free: 3.285 MB / 0.9825 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.0001463/0.3924, allocations: 133.8 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3924, allocations: 15.89 kB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/0.393, allocations: 365.5 kB / 1.293 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.393, allocations: 4.062 kB / 1.293 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.393, allocations: 8 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.393, allocations: 0 / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.3933, allocations: 228.5 kB / 1.293 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3933, allocations: 7.984 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.3935, allocations: 55.91 kB / 1.293 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3935, allocations: 4 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.3936, allocations: 11.98 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3936, allocations: 4 kB / 1.293 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3936, allocations: 0 / 1.293 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.3941, allocations: 345 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3942, allocations: 47.8 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3942, allocations: 8 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.3943, allocations: 4 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.3944, allocations: 27.95 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3944, allocations: 15.98 kB / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.3944, allocations: 87.2 kB / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3944, allocations: 0 / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004092/0.3949, allocations: 95.81 kB / 1.293 GB, free: 1.754 MB / 0.9825 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.0004517/0.3953, allocations: 195 kB / 1.294 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.3958, allocations: 252.1 kB / 1.294 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3958, allocations: 7.938 kB / 1.294 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.396, allocations: 136.6 kB / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.3962, allocations: 22.33 kB / 1.294 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.3969, allocations: 372 kB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3973, allocations: 0.7124 MB / 1.295 GB, free: 16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.3974, allocations: 35.41 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.3974, allocations: 4 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.005896/0.4033, allocations: 3.012 MB / 1.298 GB, free: 12.94 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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: 11.73772890298278]