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.001158/0.001158, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004539/0.005697, allocations: 435.8 kB / 10.33 MB, free: 368 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.001072/0.001072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004928/0.006, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9401/0.9401, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08778/1.028, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.261/2.261, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.215/2.476, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 178] 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.323e-06/1.323e-06, allocations: 0 / 0.8183 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.766e-05, allocations: 8.562 kB / 0.8184 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00103/0.001048, allocations: 0.6498 MB / 0.819 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.002718, allocations: 1.794 MB / 0.8207 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.002739, allocations: 4 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.002757, allocations: 7.922 kB / 0.8208 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.613e-05/0.002773, allocations: 0 / 0.8208 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.003273, allocations: 279 kB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.003416, allocations: 131.9 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.003448, allocations: 7.938 kB / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.003531, allocations: 67.91 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.815e-05/0.003609, allocations: 51.92 kB / 0.8213 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.003626, allocations: 8 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.003996, allocations: 371.4 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.004031, allocations: 31.92 kB / 0.8217 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.004064, allocations: 15.94 kB / 0.8217 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.004336, allocations: 267.4 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.004349, allocations: 4 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.02e-07/0.00435, allocations: 0 / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.004361, allocations: 0 / 0.8219 GB, free: 15.13 MB / 0.8073 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.000521/0.004882, allocations: 391.9 kB / 0.8223 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.004911, allocations: 8.625 kB / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.004946, allocations: 20.92 kB / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6e-05/0.005006, allocations: 117.6 kB / 0.8224 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.005019, allocations: 12.38 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.005036, allocations: 15.94 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.005189, allocations: 162.6 kB / 0.8226 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005196, allocations: 0 / 0.8226 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005208, allocations: 11.94 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005213, allocations: 4 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.361e-05/0.005297, allocations: 71.8 kB / 0.8227 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.005443, allocations: 144.2 kB / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.005748, allocations: 275.9 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.262e-05/0.00582, allocations: 89.36 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.005945, allocations: 44.97 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.005969, allocations: 42.5 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.292e-06/0.00597, allocations: 0 / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0002185/0.006189, allocations: 185.7 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.006245, allocations: 183.9 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.086e-05/0.006286, allocations: 98.72 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.006301, allocations: 29.7 kB / 0.8238 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.816e-05/0.006319, allocations: 84.77 kB / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.006382, allocations: 107 kB / 0.8239 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.006433, allocations: 53.66 kB / 0.824 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.006498, allocations: 322.8 kB / 0.8243 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.006529, allocations: 23.98 kB / 0.8243 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.321e-05/0.006582, allocations: 77.11 kB / 0.8244 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.006697, allocations: 136.9 kB / 0.8245 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.0067, allocations: 4 kB / 0.8245 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001346/0.006834, allocations: 141.9 kB / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.006845, allocations: 7.938 kB / 0.8247 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.00685, allocations: 0 / 0.8247 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.006857, allocations: 8 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.007006, allocations: 71.89 kB / 0.8247 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.007011, allocations: 7.984 kB / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.007053, allocations: 15.89 kB / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.007063, allocations: 4 kB / 0.8248 GB, free: 11.91 MB / 0.8073 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.186e-05/0.007125, allocations: 132.6 kB / 0.8249 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.007146, allocations: 16 kB / 0.8249 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.007352, allocations: 208.9 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007356, allocations: 4 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.007358, allocations: 3.938 kB / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.007363, allocations: 11.98 kB / 0.8251 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.007466, allocations: 121.8 kB / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007468, allocations: 3.938 kB / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.007587, allocations: 59.95 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.007625, allocations: 35.84 kB / 0.8253 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.007628, allocations: 7.938 kB / 0.8254 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.00764, allocations: 15.92 kB / 0.8254 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007642, allocations: 384 / 0.8254 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.007643, allocations: 4 kB / 0.8254 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.00779, allocations: 197.8 kB / 0.8256 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.007806, allocations: 12 kB / 0.8256 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.007843, allocations: 4 kB / 0.8256 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.00787, allocations: 27.89 kB / 0.8256 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.00788, allocations: 11.98 kB / 0.8256 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.722e-06/0.007886, allocations: 4.859 kB / 0.8256 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007886, allocations: 0 / 0.8256 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002032/0.00809, allocations: 99.86 kB / 0.8257 GB, free: 10.87 MB / 0.8073 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.0002336/0.008323, allocations: 204.1 kB / 0.8259 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.008468, allocations: 137 kB / 0.826 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.008475, allocations: 0 / 0.826 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.797e-05/0.008533, allocations: 76.69 kB / 0.8261 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.653e-05/0.008619, allocations: 31.66 kB / 0.8261 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.00891, allocations: 295.4 kB / 0.8264 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.008947, allocations: 79.83 kB / 0.8265 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.678e-05/0.009014, allocations: 33.47 kB / 0.8265 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.009079, allocations: 75.36 kB / 0.8266 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.00908, allocations: 0 / 0.8266 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of Templates: time 0.003986/0.01307, allocations: 2.966 MB / 0.8295 GB, free: 6.918 MB / 0.8073 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.93319649156183]