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.001058/0.001058, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.0009679/0.0009679, allocations: 175.5 kB / 24.87 MB, free: 8.863 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.9657/0.9657, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.763/1.763, allocations: 359 MB / 0.6063 GB, free: 10.85 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.693e-06/1.693e-06, allocations: 0 / 0.7883 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.46e-05, allocations: 4.703 kB / 0.7884 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.004577/0.004601, allocations: 0.6177 MB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.006864, allocations: 1.765 MB / 0.7907 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.006891, allocations: 5.25 kB / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.006928, allocations: 3.938 kB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.285e-05/0.006961, allocations: 0 / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.01086, allocations: 312.1 kB / 0.791 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.01103, allocations: 135.8 kB / 0.7911 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.01106, allocations: 0 / 0.7911 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.01116, allocations: 63.92 kB / 0.7912 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.01126, allocations: 56.61 kB / 0.7912 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.01129, allocations: 4 kB / 0.7912 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.01175, allocations: 338.8 kB / 0.7916 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.0118, allocations: 39.89 kB / 0.7916 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.0121, allocations: 31.89 kB / 0.7916 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.01251, allocations: 351.1 kB / 0.792 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01251, allocations: 3.984 kB / 0.792 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.01252, allocations: 0 / 0.792 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.01252, allocations: 0 / 0.792 GB, free: 8.441 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.0005178/0.01304, allocations: 472.7 kB / 0.7924 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.01307, allocations: 9.688 kB / 0.7924 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.01313, allocations: 24.84 kB / 0.7924 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.01624, allocations: 116.5 kB / 0.7926 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.01626, allocations: 8.375 kB / 0.7926 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.01629, allocations: 13.69 kB / 0.7926 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.01651, allocations: 180.2 kB / 0.7928 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01652, allocations: 7.922 kB / 0.7928 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.01653, allocations: 0.625 kB / 0.7928 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.01654, allocations: 4 kB / 0.7928 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.01666, allocations: 81.12 kB / 0.7928 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.01688, allocations: 195.8 kB / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.01733, allocations: 347.9 kB / 0.7934 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.01745, allocations: 115 kB / 0.7935 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.0176, allocations: 44.97 kB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.01763, allocations: 46.7 kB / 0.7936 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.01764, allocations: 3.938 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0003825/0.01802, allocations: 230.7 kB / 0.7938 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.01809, allocations: 187.9 kB / 0.794 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.01816, allocations: 159.1 kB / 0.7941 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.01818, allocations: 29.7 kB / 0.7941 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.01822, allocations: 127.9 kB / 0.7943 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.01831, allocations: 111.6 kB / 0.7944 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.01838, allocations: 63.31 kB / 0.7944 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.01852, allocations: 0.497 MB / 0.7949 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.786e-05/0.01858, allocations: 31.97 kB / 0.7949 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01868, allocations: 107.3 kB / 0.795 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.01887, allocations: 158.2 kB / 0.7952 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01887, allocations: 0.5312 kB / 0.7952 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002706/0.02158, allocations: 189.4 kB / 0.7954 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.0216, allocations: 9.375 kB / 0.7954 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.02161, allocations: 0 / 0.7954 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.02163, allocations: 4 kB / 0.7954 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.02185, allocations: 61 kB / 0.7954 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.02186, allocations: 7.984 kB / 0.7955 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.792e-05/0.02195, allocations: 15.89 kB / 0.7955 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.02196, allocations: 8.75 kB / 0.7955 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.0001362/0.0221, allocations: 172.5 kB / 0.7956 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.02216, allocations: 24.53 kB / 0.7957 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.02259, allocations: 246.5 kB / 0.7959 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.0226, allocations: 4 kB / 0.7959 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.0226, allocations: 4.875 kB / 0.7959 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.02261, allocations: 7.984 kB / 0.7959 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.0228, allocations: 157 kB / 0.7961 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.0228, allocations: 5.219 kB / 0.7961 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.02299, allocations: 51.91 kB / 0.7961 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.023, allocations: 4 kB / 0.7961 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.02302, allocations: 12.95 kB / 0.7961 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.02302, allocations: 4 kB / 0.7961 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.02302, allocations: 0 / 0.7961 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.02338, allocations: 274.2 kB / 0.7964 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.02344, allocations: 39.83 kB / 0.7964 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.02347, allocations: 11.94 kB / 0.7965 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.02355, allocations: 8 kB / 0.7965 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.0236, allocations: 23.89 kB / 0.7965 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.02362, allocations: 12 kB / 0.7965 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.02366, allocations: 126.5 kB / 0.7966 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02366, allocations: 0 / 0.7966 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004347/0.0241, allocations: 91.88 kB / 0.7967 GB, free: 3.121 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.0003923/0.02449, allocations: 218.9 kB / 0.7969 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.02476, allocations: 148.1 kB / 0.7971 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02476, allocations: 0 / 0.7971 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.02489, allocations: 92.72 kB / 0.7971 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.02508, allocations: 16 kB / 0.7972 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.02553, allocations: 314.1 kB / 0.7975 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.02559, allocations: 76.41 kB / 0.7975 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.0257, allocations: 37.55 kB / 0.7976 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.0258, allocations: 104 kB / 0.7977 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/0.02581, allocations: 0 / 0.7977 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.004697/0.0305, allocations: 3.003 MB / 0.8006 GB, free: 15.07 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.00923503562808]