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.001229/0.001229, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001977/0.003207, allocations: 449.8 kB / 10.44 MB, free: 252 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.001339/0.001339, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001939/0.003278, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.904/0.904, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08316/0.9872, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.842/1.842, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4703/2.313, allocations: 123.3 MB / 0.7283 GB, free: 5.723 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 1.133e-06/1.133e-06, allocations: 0 / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.93e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001204/0.001223, allocations: 0.667 MB / 0.7304 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.003004, allocations: 1.795 MB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.003028, allocations: 4 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.003045, allocations: 3.984 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.614e-05/0.003061, allocations: 1.172 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.003662, allocations: 274.1 kB / 0.7324 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.003804, allocations: 142.1 kB / 0.7325 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.003837, allocations: 0.6562 kB / 0.7325 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.003921, allocations: 66.98 kB / 0.7326 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.004009, allocations: 60.89 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.004027, allocations: 4 kB / 0.7326 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.004482, allocations: 365.5 kB / 0.733 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.004528, allocations: 32.8 kB / 0.733 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.004574, allocations: 20.95 kB / 0.733 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.004874, allocations: 275.2 kB / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.004885, allocations: 0 / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004886, allocations: 0 / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.004897, allocations: 0.9688 kB / 0.7333 GB, free: 0.7109 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.0005152/0.005412, allocations: 386 kB / 0.7337 GB, free: 320 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.005457, allocations: 12.03 kB / 0.7337 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.005497, allocations: 16.92 kB / 0.7337 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.00558, allocations: 117.6 kB / 0.7338 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.005592, allocations: 9.156 kB / 0.7338 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.005611, allocations: 12.38 kB / 0.7338 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.005789, allocations: 164.5 kB / 0.734 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.005798, allocations: 3.938 kB / 0.734 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.00581, allocations: 4 kB / 0.734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.005816, allocations: 5.719 kB / 0.734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.005898, allocations: 71.86 kB / 0.7341 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.006056, allocations: 148.2 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.00638, allocations: 265.3 kB / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.006456, allocations: 97.88 kB / 0.7346 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.006608, allocations: 40.92 kB / 0.7346 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.006634, allocations: 43.67 kB / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.006635, allocations: 0 / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0002358/0.006871, allocations: 182.6 kB / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.006929, allocations: 192.7 kB / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.006975, allocations: 99.7 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.006991, allocations: 41.58 kB / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.00701, allocations: 80.64 kB / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.007075, allocations: 103.6 kB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.007124, allocations: 49.67 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.007197, allocations: 324 kB / 0.7357 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.007233, allocations: 23.98 kB / 0.7357 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.00729, allocations: 69.11 kB / 0.7357 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.007424, allocations: 144.9 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.007427, allocations: 0 / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001535/0.00758, allocations: 138.7 kB / 0.736 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.007596, allocations: 11.98 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007601, allocations: 0 / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007612, allocations: 4.656 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.007766, allocations: 67.89 kB / 0.7361 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.007774, allocations: 13.27 kB / 0.7361 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.007819, allocations: 16.27 kB / 0.7361 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.00783, allocations: 8 kB / 0.7361 GB, free: 13.51 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 7.551e-05/0.007906, allocations: 125.2 kB / 0.7363 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.007932, allocations: 20.69 kB / 0.7363 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.008155, allocations: 201 kB / 0.7365 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.00816, allocations: 4.75 kB / 0.7365 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.008164, allocations: 7.938 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.008169, allocations: 5.797 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.008282, allocations: 117.8 kB / 0.7366 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.008285, allocations: 3.984 kB / 0.7366 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.008419, allocations: 63.89 kB / 0.7367 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.008464, allocations: 43.8 kB / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.008466, allocations: 1.344 kB / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.008479, allocations: 11.98 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.008482, allocations: 4 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.008486, allocations: 5.234 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.008653, allocations: 203.1 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.008669, allocations: 8 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.008712, allocations: 8 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.008743, allocations: 29.14 kB / 0.737 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.008754, allocations: 7.984 kB / 0.737 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.616e-05/0.00877, allocations: 12.02 kB / 0.737 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00877, allocations: 7.938 kB / 0.737 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002629/0.009033, allocations: 95.88 kB / 0.7371 GB, free: 12.48 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.0002848/0.009318, allocations: 200.1 kB / 0.7373 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.00949, allocations: 132.9 kB / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.009498, allocations: 0 / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.009584, allocations: 109.5 kB / 0.7375 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.009695, allocations: 33.22 kB / 0.7375 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.01002, allocations: 276.8 kB / 0.7378 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.01007, allocations: 87.7 kB / 0.7379 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.084e-05/0.01014, allocations: 37.92 kB / 0.7379 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.01021, allocations: 79.3 kB / 0.738 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/0.01021, allocations: 0 / 0.738 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.004146/0.01436, allocations: 2.973 MB / 0.7409 GB, free: 8.656 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.752788821235299]