Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009721/0.0009721, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001384/0.001384, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.9139/0.9139, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.663/1.663, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 0.9518 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.227e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001162/0.001194, allocations: 0.6034 MB / 0.9524 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.002962, allocations: 1.74 MB / 0.9541 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.002985, allocations: 0 / 0.9541 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.003021, allocations: 3.938 kB / 0.9541 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.003054, allocations: 0 / 0.9541 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.003742, allocations: 314 kB / 0.9544 GB, free: 296 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.003882, allocations: 131.8 kB / 0.9545 GB, free: 164 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.003919, allocations: 3.984 kB / 0.9545 GB, free: 160 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.253e-05/0.004002, allocations: 63.88 kB / 0.9546 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.004086, allocations: 55.92 kB / 0.9546 GB, free: 40 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.004106, allocations: 4 kB / 0.9546 GB, free: 36 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.004458, allocations: 339.5 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.004505, allocations: 39.89 kB / 0.955 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.004544, allocations: 27.91 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.004869, allocations: 355.1 kB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004871, allocations: 0 / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.193e-06/0.004872, allocations: 0 / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004877, allocations: 0 / 0.9553 GB, free: 15.29 MB / 0.9167 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.0004695/0.005346, allocations: 373.7 kB / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.005382, allocations: 12.03 kB / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.005425, allocations: 16.83 kB / 0.9557 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.119e-05/0.005496, allocations: 113.7 kB / 0.9558 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.005511, allocations: 12.38 kB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.005528, allocations: 8.375 kB / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.005763, allocations: 219.2 kB / 0.9561 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.005772, allocations: 3.938 kB / 0.9561 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.005788, allocations: 8 kB / 0.9561 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005794, allocations: 4 kB / 0.9561 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.005983, allocations: 175.8 kB / 0.9562 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.006181, allocations: 209.7 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.006634, allocations: 395.8 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.007047, allocations: 169.1 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.007254, allocations: 40.97 kB / 0.957 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.007274, allocations: 38.56 kB / 0.9571 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.007276, allocations: 0 / 0.9571 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.0004524/0.007728, allocations: 386.4 kB / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.007789, allocations: 191.9 kB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.861e-05/0.007837, allocations: 97.78 kB / 0.9577 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.007852, allocations: 33.7 kB / 0.9577 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.007874, allocations: 80.64 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/0.00794, allocations: 103.1 kB / 0.9579 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.007993, allocations: 57.69 kB / 0.958 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.008067, allocations: 314.8 kB / 0.9583 GB, free: 12 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.00816, allocations: 91.92 kB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.008276, allocations: 142.3 kB / 0.9585 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.008514, allocations: 253.2 kB / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.008518, allocations: 4.125 kB / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002827/0.0088, allocations: 301.2 kB / 0.959 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.008815, allocations: 8 kB / 0.959 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.008821, allocations: 0 / 0.959 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.008835, allocations: 7.938 kB / 0.959 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.008965, allocations: 51.91 kB / 0.9591 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.008971, allocations: 4 kB / 0.9591 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.009017, allocations: 15.89 kB / 0.9591 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.009032, allocations: 11.98 kB / 0.9591 GB, free: 11.09 MB / 0.9167 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.669e-05/0.009108, allocations: 141.7 kB / 0.9592 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.009131, allocations: 19.94 kB / 0.9593 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.009503, allocations: 365.4 kB / 0.9596 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.009509, allocations: 7.938 kB / 0.9596 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.009515, allocations: 4 kB / 0.9596 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.00952, allocations: 3.984 kB / 0.9596 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.009656, allocations: 185.1 kB / 0.9598 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009658, allocations: 3.938 kB / 0.9598 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.009768, allocations: 59.89 kB / 0.9599 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.009771, allocations: 0 / 0.9599 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.009785, allocations: 8 kB / 0.9599 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.009787, allocations: 4 kB / 0.9599 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.009796, allocations: 11.94 kB / 0.9599 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.0101, allocations: 341.1 kB / 0.9602 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.01016, allocations: 39.86 kB / 0.9603 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01018, allocations: 8 kB / 0.9603 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.225e-05/0.01022, allocations: 4 kB / 0.9603 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.01025, allocations: 27.89 kB / 0.9603 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.01027, allocations: 15.98 kB / 0.9603 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.01029, allocations: 75.28 kB / 0.9604 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01029, allocations: 0 / 0.9604 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002652/0.01055, allocations: 99.8 kB / 0.9605 GB, free: 9.613 MB / 0.9167 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.0002874/0.01084, allocations: 223 kB / 0.9607 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.01111, allocations: 244 kB / 0.9609 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01111, allocations: 4 kB / 0.9609 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.01122, allocations: 123.8 kB / 0.961 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.01136, allocations: 12 kB / 0.9611 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.01178, allocations: 396.1 kB / 0.9614 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.371e-05/0.01185, allocations: 91.81 kB / 0.9615 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.01191, allocations: 40.47 kB / 0.9616 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.01191, allocations: 4 kB / 0.9616 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of Templates: time 0.00355/0.01546, allocations: 3.062 MB / 0.9646 GB, free: 5.355 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.825230141170323]