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.001412/0.001412, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.001745/0.001745, allocations: 181.3 kB / 24.09 MB, free: 424 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 0.9195/0.9195, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.744/1.744, allocations: 359 MB / 0.6055 GB, free: 10.88 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.703e-06/1.703e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.915e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001903/0.001933, allocations: 0.6099 MB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.004691, allocations: 1.766 MB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.004726, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.004765, allocations: 0.6562 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.004802, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.005844, allocations: 321.2 kB / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.006028, allocations: 131.8 kB / 0.7904 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.006068, allocations: 8 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.006183, allocations: 59.94 kB / 0.7904 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.006301, allocations: 51.92 kB / 0.7905 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.006326, allocations: 8 kB / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.006863, allocations: 331.5 kB / 0.7908 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.006921, allocations: 40.58 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.006972, allocations: 35.89 kB / 0.7909 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.007445, allocations: 351.6 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.007451, allocations: 1.594 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.665e-06/0.007454, allocations: 4 kB / 0.7912 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.007458, allocations: 0 / 0.7912 GB, free: 8.449 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.000616/0.008074, allocations: 473.2 kB / 0.7917 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.008119, allocations: 8.031 kB / 0.7917 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.662e-05/0.008186, allocations: 25.53 kB / 0.7917 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.008276, allocations: 117.8 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.008292, allocations: 8.375 kB / 0.7918 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.008315, allocations: 12.38 kB / 0.7918 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.008566, allocations: 180.2 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008577, allocations: 5.469 kB / 0.792 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.008594, allocations: 8 kB / 0.792 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.008602, allocations: 4 kB / 0.792 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.008744, allocations: 79.84 kB / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.00899, allocations: 192.3 kB / 0.7923 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.009549, allocations: 348.2 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.009675, allocations: 110.8 kB / 0.7927 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.009889, allocations: 62.72 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.009924, allocations: 45.39 kB / 0.7928 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 2.896e-06/0.009927, allocations: 0.5312 kB / 0.7928 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0004363/0.01036, allocations: 231.5 kB / 0.793 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.01044, allocations: 191.9 kB / 0.7932 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.01052, allocations: 155.1 kB / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.01054, allocations: 33.7 kB / 0.7934 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.01058, allocations: 127.4 kB / 0.7935 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/0.01067, allocations: 107.7 kB / 0.7936 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.01076, allocations: 68.45 kB / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.01098, allocations: 0.4923 MB / 0.7942 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.01105, allocations: 31.97 kB / 0.7942 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01116, allocations: 107.3 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.01138, allocations: 158.1 kB / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01138, allocations: 0.6875 kB / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003149/0.0117, allocations: 185.4 kB / 0.7946 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.01172, allocations: 8.5 kB / 0.7946 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01172, allocations: 1.125 kB / 0.7946 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01174, allocations: 7.938 kB / 0.7947 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.01195, allocations: 51.91 kB / 0.7947 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.01196, allocations: 12.83 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.01204, allocations: 15.89 kB / 0.7947 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.01206, allocations: 12 kB / 0.7947 GB, free: 4.453 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 0.0001055/0.01217, allocations: 169.4 kB / 0.7949 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.01222, allocations: 30.06 kB / 0.7949 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.01264, allocations: 241.4 kB / 0.7952 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.01265, allocations: 4 kB / 0.7952 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01265, allocations: 7.938 kB / 0.7952 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.01266, allocations: 3.984 kB / 0.7952 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01284, allocations: 153 kB / 0.7953 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.01285, allocations: 6.766 kB / 0.7953 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.01305, allocations: 59.91 kB / 0.7954 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.01305, allocations: 4 kB / 0.7954 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.01308, allocations: 11.98 kB / 0.7954 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01308, allocations: 0 / 0.7954 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01308, allocations: 4 kB / 0.7954 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.01345, allocations: 279.8 kB / 0.7957 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.01353, allocations: 31.84 kB / 0.7957 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01355, allocations: 9.844 kB / 0.7957 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.01363, allocations: 4 kB / 0.7957 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.01368, allocations: 31.89 kB / 0.7957 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.0137, allocations: 8.5 kB / 0.7958 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.01374, allocations: 131.9 kB / 0.7959 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01374, allocations: 0 / 0.7959 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000474/0.01422, allocations: 96.39 kB / 0.796 GB, free: 3.113 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.0004069/0.01463, allocations: 214.5 kB / 0.7962 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.01489, allocations: 152 kB / 0.7963 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01489, allocations: 0 / 0.7963 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01501, allocations: 92.45 kB / 0.7964 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.01521, allocations: 25.47 kB / 0.7964 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.01568, allocations: 298.6 kB / 0.7967 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.01574, allocations: 87.77 kB / 0.7968 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.01586, allocations: 33.81 kB / 0.7968 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.01597, allocations: 102.7 kB / 0.7969 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01597, allocations: 0 / 0.7969 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of Templates: time 0.007212/0.02318, allocations: 2.975 MB / 0.7998 GB, free: 15.09 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.879843167029321]