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.002642/0.002642, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002808/0.002808, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.809/1.809, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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 3.277/3.277, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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 3.046e-06/3.046e-06, allocations: 0 / 0.8108 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.187e-05/5.491e-05, allocations: 3.062 kB / 0.8108 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00263/0.002685, allocations: 0.6148 MB / 0.8114 GB, free: 324 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003775/0.00646, allocations: 1.756 MB / 0.8132 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.006505, allocations: 4 kB / 0.8132 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/0.006574, allocations: 0 / 0.8132 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.006624, allocations: 0 / 0.8132 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.007852, allocations: 310.6 kB / 0.8135 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.008157, allocations: 132.4 kB / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.008216, allocations: 4 kB / 0.8136 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.008383, allocations: 69.33 kB / 0.8136 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.008549, allocations: 55.91 kB / 0.8137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.008588, allocations: 4 kB / 0.8137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.009302, allocations: 332.1 kB / 0.814 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.009384, allocations: 35.89 kB / 0.8141 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.009469, allocations: 33.28 kB / 0.8141 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.01017, allocations: 355 kB / 0.8144 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.01017, allocations: 4 kB / 0.8144 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.923e-06/0.01018, allocations: 1.156 kB / 0.8144 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.01018, allocations: 0 / 0.8144 GB, free: 13.25 MB / 0.7292 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.001171/0.01136, allocations: 477 kB / 0.8149 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.655e-05/0.01142, allocations: 8.031 kB / 0.8149 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.01154, allocations: 26.25 kB / 0.8149 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.01174, allocations: 120.5 kB / 0.815 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.01178, allocations: 8.375 kB / 0.815 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.01181, allocations: 8.375 kB / 0.8151 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.01222, allocations: 192.7 kB / 0.8152 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.01224, allocations: 5.312 kB / 0.8152 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.01227, allocations: 4 kB / 0.8152 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.01228, allocations: 4 kB / 0.8152 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.01253, allocations: 103.8 kB / 0.8153 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.01292, allocations: 204.4 kB / 0.8155 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.01381, allocations: 360.7 kB / 0.8159 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.01404, allocations: 130.2 kB / 0.816 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.01432, allocations: 52.91 kB / 0.8161 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.01437, allocations: 43.83 kB / 0.8161 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.303e-06/0.01437, allocations: 0 / 0.8161 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0007236/0.01509, allocations: 266.5 kB / 0.8164 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/0.01528, allocations: 187.9 kB / 0.8165 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.01548, allocations: 157.9 kB / 0.8167 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.01552, allocations: 29.7 kB / 0.8167 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.01565, allocations: 127.9 kB / 0.8168 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.01584, allocations: 117 kB / 0.8169 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.01598, allocations: 59.34 kB / 0.817 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004685/0.01645, allocations: 0.4962 MB / 0.8175 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.01656, allocations: 39.97 kB / 0.8175 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.01678, allocations: 110.6 kB / 0.8176 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.01715, allocations: 176.3 kB / 0.8178 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01716, allocations: 0 / 0.8178 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004503/0.01761, allocations: 205.4 kB / 0.818 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.01763, allocations: 11.94 kB / 0.818 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.01764, allocations: 3.938 kB / 0.818 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.01767, allocations: 8.531 kB / 0.818 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.01793, allocations: 51.95 kB / 0.8181 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.01795, allocations: 12.45 kB / 0.8181 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.01805, allocations: 17.17 kB / 0.8181 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.01808, allocations: 12 kB / 0.8181 GB, free: 9.082 MB / 0.7292 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.0002172/0.0183, allocations: 177.2 kB / 0.8183 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.01836, allocations: 27.91 kB / 0.8183 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006655/0.01903, allocations: 258.2 kB / 0.8186 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.01904, allocations: 7.938 kB / 0.8186 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.01905, allocations: 0 / 0.8186 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.01906, allocations: 8.828 kB / 0.8186 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.01934, allocations: 168.5 kB / 0.8187 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01934, allocations: 0 / 0.8187 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.01957, allocations: 63.09 kB / 0.8188 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01958, allocations: 0 / 0.8188 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.0196, allocations: 7.984 kB / 0.8188 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.01961, allocations: 4 kB / 0.8188 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.01962, allocations: 7.938 kB / 0.8188 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.02022, allocations: 296.5 kB / 0.8191 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.02034, allocations: 39.84 kB / 0.8191 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.02038, allocations: 8 kB / 0.8191 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.02047, allocations: 10.41 kB / 0.8191 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.02056, allocations: 23.89 kB / 0.8192 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.02059, allocations: 15.98 kB / 0.8192 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001443/0.02073, allocations: 127.1 kB / 0.8193 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02073, allocations: 0 / 0.8193 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004646/0.0212, allocations: 99.8 kB / 0.8194 GB, free: 7.672 MB / 0.7292 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.0006516/0.02185, allocations: 219.9 kB / 0.8196 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.02234, allocations: 168.8 kB / 0.8198 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.02234, allocations: 0 / 0.8198 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.02256, allocations: 104.6 kB / 0.8199 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.02281, allocations: 24.39 kB / 0.8199 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.02365, allocations: 320.1 kB / 0.8202 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.02381, allocations: 91.81 kB / 0.8203 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.02409, allocations: 93.84 kB / 0.8204 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/0.02419, allocations: 36.47 kB / 0.8204 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.02419, allocations: 0 / 0.8204 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of Templates: time 0.008768/0.03296, allocations: 2.54 MB / 0.8229 GB, free: 4.035 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] 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: 9.84351209399756]