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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 114 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 489.3 MB / 0.7687 GB, free: 3.688 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 1.103 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 163.8 MB / 1.263 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001732/1.01, allocations: 0.6066 MB / 1.263 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002481/1.013, allocations: 1.704 MB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/1.013, allocations: 0.7188 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/1.013, allocations: 8.578 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.404e-05/1.013, allocations: 4.656 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/1.014, allocations: 306.7 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/1.014, allocations: 130.8 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/1.014, allocations: 3.453 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/1.014, allocations: 51.77 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/1.014, allocations: 58.91 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/1.014, allocations: 9.078 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006035/1.015, allocations: 341.5 kB / 1.266 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/1.015, allocations: 35.41 kB / 1.266 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/1.015, allocations: 42.88 kB / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/1.016, allocations: 272.4 kB / 1.266 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.016, allocations: 1.469 kB / 1.266 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/1.016, allocations: 0 / 1.266 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.016, allocations: 1.125 kB / 1.266 GB, free: 5.973 MB / 0.9981 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.0006683/1.016, allocations: 448.3 kB / 1.267 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.016, allocations: 8.75 kB / 1.267 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/1.016, allocations: 15.08 kB / 1.267 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.464e-05/1.017, allocations: 175.7 kB / 1.267 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.017, allocations: 8.875 kB / 1.267 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/1.017, allocations: 21.27 kB / 1.267 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/1.017, allocations: 225.8 kB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.017, allocations: 0.625 kB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/1.017, allocations: 5.781 kB / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.017, allocations: 3.656 kB / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/1.017, allocations: 183.6 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/1.018, allocations: 276.2 kB / 1.267 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/1.018, allocations: 410.1 kB / 1.268 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/1.019, allocations: 181.1 kB / 1.268 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/1.019, allocations: 197.7 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/1.019, allocations: 46.39 kB / 1.268 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/1.019, allocations: 0 / 1.268 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.0007487/1.02, allocations: 387.6 kB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.02, allocations: 188.8 kB / 1.269 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/1.02, allocations: 100.2 kB / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/1.02, allocations: 27.36 kB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/1.02, allocations: 85.55 kB / 1.269 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/1.02, allocations: 107.5 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/1.02, allocations: 56.55 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/1.02, allocations: 321.8 kB / 1.269 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/1.02, allocations: 84.02 kB / 1.269 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/1.021, allocations: 143.1 kB / 1.27 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/1.021, allocations: 263 kB / 1.27 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.021, allocations: 4.625 kB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005226/1.022, allocations: 288.3 kB / 1.27 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.022, allocations: 6.125 kB / 1.27 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.022, allocations: 1.281 kB / 1.27 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.022, allocations: 6.844 kB / 1.27 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/1.022, allocations: 62.05 kB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.022, allocations: 2.844 kB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/1.022, allocations: 15.89 kB / 1.27 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.022, allocations: 10.58 kB / 1.27 GB, free: 2.98 MB / 0.9981 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 9.869e-05/1.022, allocations: 138.7 kB / 1.27 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/1.022, allocations: 18.78 kB / 1.27 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/1.023, allocations: 361.4 kB / 1.271 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.023, allocations: 4.688 kB / 1.271 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.023, allocations: 2 kB / 1.271 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.023, allocations: 7.656 kB / 1.271 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/1.023, allocations: 261.2 kB / 1.271 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.023, allocations: 8.516 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/1.023, allocations: 53.11 kB / 1.271 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.023, allocations: 7.328 kB / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/1.023, allocations: 12.27 kB / 1.271 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.023, allocations: 6.688 kB / 1.271 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.023, allocations: 5.938 kB / 1.271 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/1.024, allocations: 336.6 kB / 1.271 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/1.024, allocations: 118.7 kB / 1.272 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/1.024, allocations: 12.03 kB / 1.272 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/1.024, allocations: 6.406 kB / 1.272 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/1.024, allocations: 29.19 kB / 1.272 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/1.024, allocations: 10.06 kB / 1.272 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.126e-05/1.024, allocations: 76.52 kB / 1.272 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.024, allocations: 0 / 1.272 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005301/1.025, allocations: 96.86 kB / 1.272 GB, free: 2.043 MB / 0.9981 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.0005256/1.025, allocations: 220.5 kB / 1.272 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004834/1.026, allocations: 259.6 kB / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.026, allocations: 0 / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/1.026, allocations: 139.8 kB / 1.272 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/1.026, allocations: 13.06 kB / 1.272 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/1.027, allocations: 380.6 kB / 1.273 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/1.027, allocations: 0.713 MB / 1.273 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/1.027, allocations: 35.41 kB / 1.273 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/1.027, allocations: 0 / 1.273 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of Templates: time 0.006049/1.033, allocations: 2.894 MB / 1.276 GB, free: 0.5977 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.645782547071576]