Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001183/0.001183, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001722/0.002905, allocations: 440 kB / 10.41 MB, free: 284 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.0007398/0.0007398, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000959/0.001699, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9848/0.9848, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1111/1.096, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.329/2.329, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2496/2.578, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.5e-05, allocations: 2.312 kB / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001853/0.001878, allocations: 0.6566 MB / 0.8196 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002389/0.004266, allocations: 1.798 MB / 0.8214 GB, free: 15.97 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.004289, allocations: 0 / 0.8214 GB, free: 15.97 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.004309, allocations: 0 / 0.8214 GB, free: 15.97 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 1.956e-05/0.004329, allocations: 7.922 kB / 0.8214 GB, free: 15.96 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.005015, allocations: 275 kB / 0.8217 GB, free: 15.7 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.005209, allocations: 135.8 kB / 0.8218 GB, free: 15.57 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.005247, allocations: 8 kB / 0.8218 GB, free: 15.56 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.005355, allocations: 63.92 kB / 0.8218 GB, free: 15.5 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.005512, allocations: 55.91 kB / 0.8219 GB, free: 15.44 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.005538, allocations: 8 kB / 0.8219 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.006108, allocations: 369.6 kB / 0.8223 GB, free: 15.07 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.006159, allocations: 27.94 kB / 0.8223 GB, free: 15.05 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.0062, allocations: 23.94 kB / 0.8223 GB, free: 15.02 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.006593, allocations: 271.3 kB / 0.8226 GB, free: 14.76 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.006606, allocations: 0 / 0.8226 GB, free: 14.76 MB / 0.8074 GB Notification: Performance of FrontEnd: time 6.61e-07/0.006606, allocations: 0 / 0.8226 GB, free: 14.76 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.006622, allocations: 0 / 0.8226 GB, free: 14.76 MB / 0.8074 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.0006319/0.007254, allocations: 391.9 kB / 0.8229 GB, free: 14.35 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.00729, allocations: 8.031 kB / 0.823 GB, free: 14.34 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.007347, allocations: 20.92 kB / 0.823 GB, free: 14.32 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.00743, allocations: 125.5 kB / 0.8231 GB, free: 14.18 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.007445, allocations: 8.375 kB / 0.8231 GB, free: 14.17 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.007475, allocations: 15.94 kB / 0.8231 GB, free: 14.15 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.007687, allocations: 162.6 kB / 0.8233 GB, free: 13.97 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007697, allocations: 0 / 0.8233 GB, free: 13.97 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.007715, allocations: 8 kB / 0.8233 GB, free: 13.96 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.007723, allocations: 4 kB / 0.8233 GB, free: 13.96 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.007845, allocations: 67.86 kB / 0.8233 GB, free: 13.89 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.008039, allocations: 140.2 kB / 0.8235 GB, free: 13.72 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.008479, allocations: 271.9 kB / 0.8237 GB, free: 13.4 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.008589, allocations: 97.28 kB / 0.8238 GB, free: 13.29 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.008747, allocations: 44.97 kB / 0.8239 GB, free: 13.25 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.008777, allocations: 46.55 kB / 0.8239 GB, free: 13.19 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=30): time 1.532e-06/0.008779, allocations: 0 / 0.8239 GB, free: 13.19 MB / 0.8074 GB Notification: Performance of matching and sorting (n=30): time 0.000327/0.009106, allocations: 178.7 kB / 0.8241 GB, free: 13.01 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.009177, allocations: 191.8 kB / 0.8243 GB, free: 12.78 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.388e-05/0.009231, allocations: 102.7 kB / 0.8244 GB, free: 12.67 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.009251, allocations: 29.7 kB / 0.8244 GB, free: 12.63 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.009274, allocations: 80.64 kB / 0.8245 GB, free: 12.55 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.009357, allocations: 107 kB / 0.8246 GB, free: 12.45 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.009429, allocations: 53.66 kB / 0.8246 GB, free: 12.39 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.009513, allocations: 322.8 kB / 0.8249 GB, free: 12.06 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/0.009563, allocations: 23.98 kB / 0.825 GB, free: 12.04 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.009645, allocations: 77.11 kB / 0.825 GB, free: 11.95 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.009824, allocations: 132 kB / 0.8252 GB, free: 11.8 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.009828, allocations: 4 kB / 0.8252 GB, free: 11.79 MB / 0.8074 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003118/0.01014, allocations: 145.4 kB / 0.8253 GB, free: 11.64 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01016, allocations: 12.06 kB / 0.8253 GB, free: 11.63 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01016, allocations: 0 / 0.8253 GB, free: 11.63 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01018, allocations: 7.984 kB / 0.8253 GB, free: 11.62 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.01041, allocations: 67.89 kB / 0.8254 GB, free: 11.56 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01042, allocations: 4 kB / 0.8254 GB, free: 11.55 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.01049, allocations: 19.88 kB / 0.8254 GB, free: 11.54 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.01051, allocations: 4 kB / 0.8254 GB, free: 11.53 MB / 0.8074 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 8.621e-05/0.01059, allocations: 128.6 kB / 0.8255 GB, free: 11.39 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.01063, allocations: 19.98 kB / 0.8256 GB, free: 11.38 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.01095, allocations: 213.6 kB / 0.8258 GB, free: 11.16 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.01095, allocations: 12 kB / 0.8258 GB, free: 11.15 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01096, allocations: 0 / 0.8258 GB, free: 11.15 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01096, allocations: 4 kB / 0.8258 GB, free: 11.15 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.01112, allocations: 121.8 kB / 0.8259 GB, free: 11.01 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01112, allocations: 0 / 0.8259 GB, free: 11.01 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.01133, allocations: 67.88 kB / 0.826 GB, free: 10.95 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.01139, allocations: 35.84 kB / 0.826 GB, free: 10.91 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.0114, allocations: 4 kB / 0.826 GB, free: 10.91 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.01141, allocations: 7.938 kB / 0.826 GB, free: 10.9 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.01142, allocations: 7.984 kB / 0.826 GB, free: 10.89 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01142, allocations: 7.938 kB / 0.826 GB, free: 10.88 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.01165, allocations: 193.8 kB / 0.8262 GB, free: 10.66 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.01168, allocations: 8 kB / 0.8262 GB, free: 10.65 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.01174, allocations: 4 kB / 0.8262 GB, free: 10.65 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.01179, allocations: 31.83 kB / 0.8262 GB, free: 10.62 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.01181, allocations: 8 kB / 0.8262 GB, free: 10.61 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 1.054e-05/0.01182, allocations: 8.844 kB / 0.8263 GB, free: 10.6 MB / 0.8074 GB Notification: Performance of sort global known variables: time 6e-08/0.01182, allocations: 0 / 0.8263 GB, free: 10.6 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0003533/0.01217, allocations: 95.88 kB / 0.8263 GB, free: 10.5 MB / 0.8074 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.0003483/0.01252, allocations: 208.2 kB / 0.8265 GB, free: 10.29 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.01274, allocations: 137.8 kB / 0.8267 GB, free: 10.15 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.01276, allocations: 4 kB / 0.8267 GB, free: 10.15 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.01289, allocations: 105 kB / 0.8268 GB, free: 10.04 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.01303, allocations: 27.97 kB / 0.8268 GB, free: 10.02 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.01343, allocations: 288.4 kB / 0.8271 GB, free: 9.688 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.442e-05/0.01349, allocations: 79.83 kB / 0.8272 GB, free: 9.586 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.0136, allocations: 37.45 kB / 0.8272 GB, free: 9.551 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01371, allocations: 75.36 kB / 0.8273 GB, free: 9.477 MB / 0.8074 GB Notification: Performance of SimCode: time 6.32e-07/0.01371, allocations: 0 / 0.8273 GB, free: 9.477 MB / 0.8074 GB Notification: Performance of Templates: time 0.00569/0.0194, allocations: 2.976 MB / 0.8302 GB, free: 6.512 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ/Buildings_latest_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: 5.1092416709288955]