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.0009888/0.0009888, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.000912/0.000912, allocations: 165 kB / 23.82 MB, free: 0.75 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.9141/0.9141, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.683/1.683, allocations: 359 MB / 0.6052 GB, free: 11.02 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 2.084e-06/2.084e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.127e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001305/0.001336, allocations: 0.6169 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.003411, allocations: 1.781 MB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.00344, allocations: 1.625 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.003481, allocations: 3.984 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.502e-05/0.003516, allocations: 0 / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008362/0.004352, allocations: 306.4 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.004488, allocations: 129.4 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.00453, allocations: 11.97 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.004609, allocations: 63.88 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.004692, allocations: 55.86 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.004714, allocations: 8.625 kB / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.005134, allocations: 335 kB / 0.7904 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.005177, allocations: 31.91 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.005223, allocations: 39.89 kB / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.005559, allocations: 351 kB / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005561, allocations: 0 / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005563, allocations: 0 / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005567, allocations: 0 / 0.7908 GB, free: 8.742 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.0004969/0.006064, allocations: 472.7 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.006103, allocations: 12.03 kB / 0.7912 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.006162, allocations: 22.5 kB / 0.7912 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.399e-05/0.006236, allocations: 120.5 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.006251, allocations: 12.38 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.006268, allocations: 12.38 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.006475, allocations: 181.5 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006486, allocations: 7.875 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.006502, allocations: 8 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.00651, allocations: 4.688 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.006631, allocations: 91.84 kB / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.006826, allocations: 212.5 kB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.007264, allocations: 364 kB / 0.7922 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.007378, allocations: 130.2 kB / 0.7923 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.007556, allocations: 41.72 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.007581, allocations: 45.33 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.007583, allocations: 1.312 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0003742/0.007957, allocations: 262.6 kB / 0.7927 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.008015, allocations: 183.9 kB / 0.7928 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.008075, allocations: 155.2 kB / 0.793 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.00809, allocations: 29.7 kB / 0.793 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.008118, allocations: 127.4 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.008186, allocations: 115.6 kB / 0.7933 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.008238, allocations: 59.88 kB / 0.7933 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.008344, allocations: 0.4962 MB / 0.7938 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.008404, allocations: 44.78 kB / 0.7938 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.00849, allocations: 110.6 kB / 0.7939 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.008662, allocations: 175 kB / 0.7941 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.008666, allocations: 4 kB / 0.7941 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002315/0.008898, allocations: 206 kB / 0.7943 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.008912, allocations: 9.375 kB / 0.7943 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.008917, allocations: 0 / 0.7943 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.008932, allocations: 7.938 kB / 0.7943 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.009062, allocations: 55.91 kB / 0.7944 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.00907, allocations: 5.156 kB / 0.7944 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.009118, allocations: 23.81 kB / 0.7944 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.009129, allocations: 8 kB / 0.7944 GB, free: 4.602 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.922e-05/0.009209, allocations: 173.2 kB / 0.7946 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.00924, allocations: 28.58 kB / 0.7946 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.009539, allocations: 265.6 kB / 0.7949 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.009544, allocations: 8.75 kB / 0.7949 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.009549, allocations: 4 kB / 0.7949 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.009555, allocations: 4.922 kB / 0.7949 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.009677, allocations: 176.4 kB / 0.795 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.00968, allocations: 4 kB / 0.7951 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.009793, allocations: 53.12 kB / 0.7951 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.009796, allocations: 4 kB / 0.7951 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.009812, allocations: 11.98 kB / 0.7951 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.009815, allocations: 4.969 kB / 0.7951 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.009817, allocations: 3.938 kB / 0.7951 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.01007, allocations: 286.2 kB / 0.7954 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.01012, allocations: 39.84 kB / 0.7954 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.01013, allocations: 8 kB / 0.7954 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.01017, allocations: 8 kB / 0.7955 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.01021, allocations: 27.89 kB / 0.7955 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.01022, allocations: 11.98 kB / 0.7955 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.01025, allocations: 130.5 kB / 0.7956 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01025, allocations: 0 / 0.7956 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002624/0.01052, allocations: 95.88 kB / 0.7957 GB, free: 3.195 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.0002719/0.01079, allocations: 218.9 kB / 0.7959 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.01104, allocations: 168.2 kB / 0.7961 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01104, allocations: 0 / 0.7961 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.01113, allocations: 104.4 kB / 0.7962 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.01126, allocations: 19.98 kB / 0.7962 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.0116, allocations: 318.2 kB / 0.7965 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.01165, allocations: 75.84 kB / 0.7966 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.01178, allocations: 91.3 kB / 0.7967 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.01183, allocations: 32.47 kB / 0.7967 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01183, allocations: 0 / 0.7967 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.004346/0.01617, allocations: 2.906 MB / 0.7995 GB, free: 15.22 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: 4.849370534997433]