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.002283/0.002283, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002714/0.002714, 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.937/2.937, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",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.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.731e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002334/0.002372, allocations: 0.605 MB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00367/0.006041, allocations: 1.75 MB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.006068, allocations: 0.8125 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.469e-05/0.006123, allocations: 4 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.006164, allocations: 3.938 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.007427, allocations: 312 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.00768, allocations: 127.8 kB / 0.7892 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.007726, allocations: 4 kB / 0.7892 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.007871, allocations: 64.56 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.008026, allocations: 55.91 kB / 0.7893 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.008064, allocations: 8.594 kB / 0.7893 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.008809, allocations: 329.1 kB / 0.7896 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.008885, allocations: 43.89 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.008961, allocations: 27.91 kB / 0.7897 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007666/0.009728, allocations: 355 kB / 0.79 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.009732, allocations: 0 / 0.79 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.834e-06/0.009734, allocations: 1.531 kB / 0.79 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.009741, allocations: 4 kB / 0.79 GB, free: 9.113 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.0009506/0.01069, allocations: 481.2 kB / 0.7905 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.01074, allocations: 8.031 kB / 0.7905 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.01083, allocations: 24.84 kB / 0.7905 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.01097, allocations: 113.1 kB / 0.7906 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.01099, allocations: 14.34 kB / 0.7906 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.01102, allocations: 12.38 kB / 0.7906 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.01139, allocations: 188.2 kB / 0.7908 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.0114, allocations: 3.938 kB / 0.7908 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.01144, allocations: 7.984 kB / 0.7908 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.01145, allocations: 7.984 kB / 0.7908 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.01171, allocations: 100.4 kB / 0.7909 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.01209, allocations: 204 kB / 0.7911 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.01295, allocations: 360 kB / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.01317, allocations: 126.8 kB / 0.7916 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.01346, allocations: 50.08 kB / 0.7916 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.0135, allocations: 45.39 kB / 0.7917 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.714e-06/0.0135, allocations: 0 / 0.7917 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.0006544/0.01416, allocations: 263.4 kB / 0.7919 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004477/0.01461, allocations: 187.9 kB / 0.7921 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01473, allocations: 154.6 kB / 0.7923 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.01477, allocations: 30.95 kB / 0.7923 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.01485, allocations: 131.4 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.01498, allocations: 107 kB / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.01509, allocations: 64.03 kB / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003051/0.0154, allocations: 0.4962 MB / 0.7931 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.01551, allocations: 41.22 kB / 0.7931 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.01569, allocations: 114.6 kB / 0.7932 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.01601, allocations: 174.2 kB / 0.7934 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.01601, allocations: 0 / 0.7934 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000456/0.01647, allocations: 214.3 kB / 0.7936 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.01649, allocations: 11.94 kB / 0.7936 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.0165, allocations: 0.8438 kB / 0.7936 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.01653, allocations: 7.938 kB / 0.7936 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.01678, allocations: 62.11 kB / 0.7937 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.01679, allocations: 4 kB / 0.7937 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.0169, allocations: 15.89 kB / 0.7937 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.01692, allocations: 11.98 kB / 0.7937 GB, free: 4.953 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.0001671/0.01709, allocations: 172.5 kB / 0.7938 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.01715, allocations: 26.69 kB / 0.7939 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/0.01776, allocations: 265.7 kB / 0.7941 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.01777, allocations: 7.938 kB / 0.7941 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.01778, allocations: 3.984 kB / 0.7941 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.01779, allocations: 4 kB / 0.7941 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.01803, allocations: 168.4 kB / 0.7943 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01803, allocations: 0 / 0.7943 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.01827, allocations: 55.91 kB / 0.7944 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.01828, allocations: 9.453 kB / 0.7944 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.0183, allocations: 8 kB / 0.7944 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.01831, allocations: 4 kB / 0.7944 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.01832, allocations: 7.875 kB / 0.7944 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.01882, allocations: 284.5 kB / 0.7947 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.01894, allocations: 44.39 kB / 0.7947 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.01897, allocations: 9.375 kB / 0.7947 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.01906, allocations: 4 kB / 0.7947 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.01914, allocations: 35.83 kB / 0.7947 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.01917, allocations: 11.98 kB / 0.7948 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.01924, allocations: 119.7 kB / 0.7949 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01924, allocations: 5.125 kB / 0.7949 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004703/0.01971, allocations: 99.8 kB / 0.795 GB, free: 3.547 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.0005598/0.02027, allocations: 227.5 kB / 0.7952 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.02067, allocations: 161.1 kB / 0.7953 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.02067, allocations: 0 / 0.7953 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.02086, allocations: 104.7 kB / 0.7954 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.02105, allocations: 19.98 kB / 0.7955 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.02174, allocations: 316.9 kB / 0.7958 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.02187, allocations: 99.75 kB / 0.7959 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002546/0.02212, allocations: 90.8 kB / 0.7959 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.02221, allocations: 36.47 kB / 0.796 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.02221, allocations: 0 / 0.796 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of Templates: time 0.007794/0.03, allocations: 2.543 MB / 0.7985 GB, free: 15.91 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.256767295999452]