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.001109/0.001109, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.002615, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001085/0.001085, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002495, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.8661/0.8661, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07854/0.9446, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.734/1.734, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4244/2.159, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.822e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00121/0.001228, allocations: 0.651 MB / 0.73 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.003042, allocations: 1.804 MB / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.003061, allocations: 0 / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.003078, allocations: 3.984 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.439e-05/0.003092, allocations: 0.875 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.003679, allocations: 270.9 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003812, allocations: 145 kB / 0.7322 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.816e-05/0.00384, allocations: 0.5469 kB / 0.7322 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.003912, allocations: 60.81 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.00399, allocations: 61.98 kB / 0.7323 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.004007, allocations: 4 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.004451, allocations: 369.7 kB / 0.7327 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.00449, allocations: 32.36 kB / 0.7327 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.004528, allocations: 21.88 kB / 0.7327 GB, free: 1.098 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.004845, allocations: 271.2 kB / 0.733 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.004858, allocations: 0 / 0.733 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004859, allocations: 0 / 0.733 GB, free: 0.832 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.004872, allocations: 0.8125 kB / 0.733 GB, free: 0.832 MB / 0.698 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.0004623/0.005334, allocations: 385.1 kB / 0.7333 GB, free: 444 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.005363, allocations: 12.72 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.005396, allocations: 16.92 kB / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.712e-05/0.005453, allocations: 118.7 kB / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.005464, allocations: 8.375 kB / 0.7335 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.005479, allocations: 12.38 kB / 0.7335 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.005626, allocations: 164.1 kB / 0.7337 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.005635, allocations: 7.875 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.005645, allocations: 4.625 kB / 0.7337 GB, free: 52 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-06/0.00565, allocations: 4 kB / 0.7337 GB, free: 48 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.005745, allocations: 76.53 kB / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.005888, allocations: 144.3 kB / 0.7339 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.006199, allocations: 265.5 kB / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.006274, allocations: 93.94 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.006405, allocations: 41.92 kB / 0.7343 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.006428, allocations: 46.53 kB / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.00643, allocations: 0 / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0002191/0.006649, allocations: 182.9 kB / 0.7345 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.006707, allocations: 193 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/0.006746, allocations: 94.72 kB / 0.7348 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.006763, allocations: 34.42 kB / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/0.006784, allocations: 84.58 kB / 0.7349 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/0.006847, allocations: 107.6 kB / 0.735 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.006895, allocations: 49.61 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.00697, allocations: 323.8 kB / 0.7353 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.007003, allocations: 23.98 kB / 0.7354 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.007061, allocations: 77.97 kB / 0.7354 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.007187, allocations: 136.4 kB / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007189, allocations: 1.219 kB / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001396/0.007329, allocations: 137.5 kB / 0.7357 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.007341, allocations: 14.33 kB / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007346, allocations: 0 / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.007354, allocations: 5.688 kB / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.007504, allocations: 68.27 kB / 0.7358 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.00751, allocations: 7.922 kB / 0.7358 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.007555, allocations: 15.89 kB / 0.7358 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.007568, allocations: 17.09 kB / 0.7358 GB, free: 13.62 MB / 0.7136 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 6.995e-05/0.007637, allocations: 124.7 kB / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.007663, allocations: 20.97 kB / 0.736 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.007879, allocations: 201 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.007882, allocations: 4 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.007886, allocations: 8.625 kB / 0.7362 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.007891, allocations: 3.984 kB / 0.7362 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.008001, allocations: 114.8 kB / 0.7363 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.008005, allocations: 7.984 kB / 0.7363 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.008138, allocations: 59.89 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.008188, allocations: 44.61 kB / 0.7364 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.00819, allocations: 0 / 0.7364 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.008202, allocations: 13.2 kB / 0.7364 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.008204, allocations: 4 kB / 0.7364 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008206, allocations: 0 / 0.7364 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.008369, allocations: 208.1 kB / 0.7366 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.008386, allocations: 4 kB / 0.7366 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.008427, allocations: 8 kB / 0.7366 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.008455, allocations: 28.45 kB / 0.7366 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.008467, allocations: 13.77 kB / 0.7366 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.905e-06/0.008475, allocations: 4.859 kB / 0.7366 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008475, allocations: 7.938 kB / 0.7367 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000237/0.008712, allocations: 91.88 kB / 0.7367 GB, free: 12.61 MB / 0.7136 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.0002461/0.008958, allocations: 205.3 kB / 0.7369 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.009138, allocations: 131.6 kB / 0.7371 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.009146, allocations: 4 kB / 0.7371 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.009212, allocations: 84.61 kB / 0.7371 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.544e-05/0.009298, allocations: 27.97 kB / 0.7372 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.009603, allocations: 282.3 kB / 0.7374 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.009645, allocations: 79.7 kB / 0.7375 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.071e-05/0.009716, allocations: 41.84 kB / 0.7376 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.009782, allocations: 71.36 kB / 0.7376 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.009783, allocations: 6.406 kB / 0.7376 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.003983/0.01377, allocations: 2.956 MB / 0.7405 GB, free: 8.82 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.581721154972911]