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.002217/0.002217, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002718/0.002718, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.538/1.538, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.893/2.893, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.4e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001904/0.001938, allocations: 0.6021 MB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.005286, allocations: 1.741 MB / 0.9838 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.005312, allocations: 0 / 0.9838 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.00535, allocations: 0 / 0.9838 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.005391, allocations: 0 / 0.9838 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.006495, allocations: 314.1 kB / 0.9841 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.006742, allocations: 131.8 kB / 0.9842 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.00679, allocations: 7.938 kB / 0.9842 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.006921, allocations: 59.94 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.007052, allocations: 55.86 kB / 0.9843 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.007083, allocations: 8 kB / 0.9843 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.007734, allocations: 335.5 kB / 0.9846 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.007808, allocations: 39.89 kB / 0.9847 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.007882, allocations: 35.89 kB / 0.9847 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.008514, allocations: 351.1 kB / 0.985 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.008523, allocations: 4 kB / 0.985 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.71e-07/0.008524, allocations: 3.938 kB / 0.985 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.008537, allocations: 0 / 0.985 GB, free: 8.262 MB / 0.9356 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.0008973/0.009435, allocations: 373.7 kB / 0.9854 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.009487, allocations: 8.031 kB / 0.9854 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.009549, allocations: 12.88 kB / 0.9854 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.009686, allocations: 113.7 kB / 0.9855 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.009711, allocations: 12.38 kB / 0.9855 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.009742, allocations: 16.31 kB / 0.9855 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.01015, allocations: 211.2 kB / 0.9858 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01017, allocations: 3.938 kB / 0.9858 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.01019, allocations: 8 kB / 0.9858 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.0102, allocations: 7.984 kB / 0.9858 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.01053, allocations: 179.7 kB / 0.9859 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.01087, allocations: 205.8 kB / 0.9861 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.01174, allocations: 391.8 kB / 0.9865 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.01201, allocations: 165.2 kB / 0.9867 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.01226, allocations: 40.95 kB / 0.9867 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.0123, allocations: 46.5 kB / 0.9868 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.694e-06/0.0123, allocations: 0 / 0.9868 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0007962/0.0131, allocations: 390.4 kB / 0.9871 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.01323, allocations: 183.9 kB / 0.9873 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.01332, allocations: 93.86 kB / 0.9874 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.01336, allocations: 33.7 kB / 0.9874 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.01341, allocations: 84.62 kB / 0.9875 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.01353, allocations: 103 kB / 0.9876 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.01363, allocations: 53.69 kB / 0.9877 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.01382, allocations: 322.8 kB / 0.988 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.01399, allocations: 91.92 kB / 0.988 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.0142, allocations: 130.1 kB / 0.9882 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.01464, allocations: 269.3 kB / 0.9884 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.01465, allocations: 0 / 0.9884 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000542/0.01519, allocations: 285.4 kB / 0.9887 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.01521, allocations: 8 kB / 0.9887 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.01521, allocations: 3.938 kB / 0.9887 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.01523, allocations: 7.938 kB / 0.9887 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.0155, allocations: 59.89 kB / 0.9888 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.01552, allocations: 7.984 kB / 0.9888 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01562, allocations: 15.89 kB / 0.9888 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.01564, allocations: 15.92 kB / 0.9888 GB, free: 4.062 MB / 0.9356 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 0.0001504/0.01579, allocations: 137.8 kB / 0.9889 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.01584, allocations: 19.91 kB / 0.989 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007305/0.01657, allocations: 357.5 kB / 0.9893 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.01658, allocations: 7.938 kB / 0.9893 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.01659, allocations: 4 kB / 0.9893 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01659, allocations: 0 / 0.9893 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.01685, allocations: 185.1 kB / 0.9895 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01686, allocations: 0 / 0.9895 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.0171, allocations: 55.91 kB / 0.9895 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.0171, allocations: 4 kB / 0.9896 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.01713, allocations: 11.98 kB / 0.9896 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01713, allocations: 8 kB / 0.9896 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.01714, allocations: 7.875 kB / 0.9896 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.01773, allocations: 349.7 kB / 0.9899 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/0.01782, allocations: 43.84 kB / 0.99 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.01785, allocations: 0 / 0.99 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.01795, allocations: 12 kB / 0.99 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.01801, allocations: 35.83 kB / 0.99 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.01804, allocations: 15.98 kB / 0.99 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.0181, allocations: 75.28 kB / 0.9901 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.0181, allocations: 0 / 0.9901 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004197/0.01852, allocations: 103.9 kB / 0.9902 GB, free: 2.582 MB / 0.9356 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.0005031/0.01902, allocations: 214.9 kB / 0.9904 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.01949, allocations: 240.2 kB / 0.9906 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01949, allocations: 0 / 0.9906 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.01971, allocations: 127.8 kB / 0.9907 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.01992, allocations: 18.28 kB / 0.9908 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.02058, allocations: 354.3 kB / 0.9911 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.02071, allocations: 99.75 kB / 0.9912 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.02094, allocations: 113.3 kB / 0.9913 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.02103, allocations: 32.47 kB / 0.9913 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.02103, allocations: 0 / 0.9913 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of Templates: time 0.007144/0.02818, allocations: 2.523 MB / 0.9938 GB, free: 14.82 MB / 0.9512 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.959359135478735]