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.000966/0.000966, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001602/0.001602, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.818/1.818, allocations: 359 MB / 0.6055 GB, free: 10.96 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.075e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001139/0.00116, allocations: 0.6191 MB / 0.7877 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.003087, allocations: 1.767 MB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.003118, allocations: 0 / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.003153, allocations: 0 / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.003186, allocations: 3.938 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/0.00396, allocations: 311.1 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004111, allocations: 131.8 kB / 0.7899 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.004155, allocations: 5.062 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.004253, allocations: 63.92 kB / 0.79 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.004347, allocations: 51.92 kB / 0.79 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.00437, allocations: 9.344 kB / 0.79 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.004768, allocations: 334.5 kB / 0.7903 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.004817, allocations: 43.89 kB / 0.7904 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.539e-05/0.004863, allocations: 37.55 kB / 0.7904 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.005219, allocations: 351.1 kB / 0.7908 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.005221, allocations: 0 / 0.7908 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005222, allocations: 3.938 kB / 0.7908 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.005226, allocations: 0 / 0.7908 GB, free: 9.039 MB / 0.7448 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.0005035/0.00573, allocations: 470.7 kB / 0.7912 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.005769, allocations: 12.03 kB / 0.7912 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.005828, allocations: 20.84 kB / 0.7912 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.005902, allocations: 114.1 kB / 0.7913 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.005918, allocations: 16.31 kB / 0.7914 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.005936, allocations: 12.38 kB / 0.7914 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.006139, allocations: 184.2 kB / 0.7916 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006148, allocations: 3.938 kB / 0.7916 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.006167, allocations: 14.62 kB / 0.7916 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006176, allocations: 7.938 kB / 0.7916 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.006305, allocations: 91.84 kB / 0.7917 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.006501, allocations: 207.3 kB / 0.7919 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.006918, allocations: 359.5 kB / 0.7922 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.007032, allocations: 126.9 kB / 0.7923 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.007211, allocations: 44.95 kB / 0.7924 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.007238, allocations: 49.84 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.00724, allocations: 1.438 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0003814/0.007621, allocations: 261.3 kB / 0.7927 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.007685, allocations: 187.9 kB / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.007753, allocations: 154.5 kB / 0.793 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.007768, allocations: 31.08 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.007797, allocations: 127.4 kB / 0.7931 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.007868, allocations: 111.1 kB / 0.7933 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.007923, allocations: 59.34 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.008043, allocations: 0.4973 MB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.008109, allocations: 39.97 kB / 0.7938 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.008204, allocations: 114.5 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.008385, allocations: 176.9 kB / 0.7941 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.008389, allocations: 4 kB / 0.7941 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002374/0.008626, allocations: 201.8 kB / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.008641, allocations: 8 kB / 0.7943 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.008646, allocations: 1.75 kB / 0.7943 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.008663, allocations: 7.938 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.008795, allocations: 59.89 kB / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.008803, allocations: 4 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.008851, allocations: 16.77 kB / 0.7944 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.008866, allocations: 11.98 kB / 0.7944 GB, free: 4.906 MB / 0.7448 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.97e-05/0.008946, allocations: 176 kB / 0.7946 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.008976, allocations: 23.91 kB / 0.7946 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.009291, allocations: 265 kB / 0.7949 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.009295, allocations: 7.938 kB / 0.7949 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.009299, allocations: 4 kB / 0.7949 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.009304, allocations: 0 / 0.7949 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.00943, allocations: 172.4 kB / 0.795 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.009432, allocations: 8.375 kB / 0.795 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.009543, allocations: 59.89 kB / 0.7951 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.009546, allocations: 4.625 kB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.009562, allocations: 15.98 kB / 0.7951 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.009565, allocations: 4.5 kB / 0.7951 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.009567, allocations: 5.781 kB / 0.7951 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.009819, allocations: 283.9 kB / 0.7954 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.009868, allocations: 35.86 kB / 0.7954 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.009888, allocations: 11.98 kB / 0.7954 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.009929, allocations: 8 kB / 0.7954 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.009965, allocations: 25.88 kB / 0.7955 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.009977, allocations: 11.98 kB / 0.7955 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.01001, allocations: 123.2 kB / 0.7956 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01001, allocations: 0 / 0.7956 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000259/0.01027, allocations: 99.86 kB / 0.7957 GB, free: 3.5 MB / 0.7448 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.0002694/0.01054, allocations: 220.1 kB / 0.7959 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.01076, allocations: 160.3 kB / 0.7961 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01076, allocations: 0 / 0.7961 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.01085, allocations: 101.5 kB / 0.7962 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.01098, allocations: 21.33 kB / 0.7962 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.01136, allocations: 314 kB / 0.7965 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.708e-05/0.01141, allocations: 79.83 kB / 0.7966 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.01154, allocations: 89.36 kB / 0.7966 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.01158, allocations: 37.53 kB / 0.7967 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.01158, allocations: 0 / 0.7967 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.003945/0.01553, allocations: 2.556 MB / 0.7992 GB, free: 15.89 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.135803940007463]