Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002806/0.002806, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.003363/0.003363, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.737/1.737, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.462/3.462, allocations: 429.5 MB / 0.6729 GB, free: 3.992 MB / 0.6355 GB " [Timeout remaining time 175] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.69e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002207/0.002244, allocations: 0.6113 MB / 0.8781 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.005964, allocations: 1.757 MB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.005996, allocations: 0 / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.366e-05/0.00605, allocations: 3.938 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.006089, allocations: 2.906 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.007229, allocations: 312.6 kB / 0.8801 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.007486, allocations: 132.5 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.00753, allocations: 0 / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.007679, allocations: 65.58 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.007832, allocations: 59.86 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.007866, allocations: 4 kB / 0.8804 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006765/0.008543, allocations: 335.5 kB / 0.8807 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.008628, allocations: 40.39 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.008701, allocations: 29.59 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.009333, allocations: 355 kB / 0.8811 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.00934, allocations: 0 / 0.8811 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.863e-06/0.009341, allocations: 0 / 0.8811 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.009349, allocations: 0 / 0.8811 GB, free: 2.922 MB / 0.8386 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.001031/0.01038, allocations: 485.1 kB / 0.8815 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.01044, allocations: 9.625 kB / 0.8816 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.793e-05/0.01054, allocations: 20.89 kB / 0.8816 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.01071, allocations: 116.5 kB / 0.8817 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.01074, allocations: 8.375 kB / 0.8817 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.01077, allocations: 19.94 kB / 0.8817 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.0112, allocations: 188.9 kB / 0.8819 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.01122, allocations: 0 / 0.8819 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.01124, allocations: 4 kB / 0.8819 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.01125, allocations: 4 kB / 0.8819 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.01152, allocations: 103.8 kB / 0.882 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.01191, allocations: 203.2 kB / 0.8822 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.01278, allocations: 366.8 kB / 0.8825 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.01299, allocations: 126.2 kB / 0.8827 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.01325, allocations: 48.91 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.0133, allocations: 49.33 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.313e-06/0.01331, allocations: 0 / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0006371/0.01394, allocations: 258.8 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.01408, allocations: 191.9 kB / 0.8832 GB, free: 476 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.01421, allocations: 153.9 kB / 0.8833 GB, free: 304 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.01424, allocations: 29.7 kB / 0.8834 GB, free: 268 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.01432, allocations: 127.4 kB / 0.8835 GB, free: 136 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.01447, allocations: 119.2 kB / 0.8836 GB, free: 16 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.0146, allocations: 59.42 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003153/0.01491, allocations: 0.4962 MB / 0.8841 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01502, allocations: 39.97 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.01519, allocations: 119.1 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.01551, allocations: 178 kB / 0.8845 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.01552, allocations: 4 kB / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005515/0.01607, allocations: 213.4 kB / 0.8847 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01609, allocations: 4 kB / 0.8847 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.0161, allocations: 3.984 kB / 0.8847 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.01612, allocations: 8 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.01635, allocations: 59.91 kB / 0.8847 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.01636, allocations: 0 / 0.8847 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.856e-05/0.01646, allocations: 27.77 kB / 0.8848 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.01648, allocations: 8 kB / 0.8848 GB, free: 14.73 MB / 0.8542 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.0001438/0.01663, allocations: 172.5 kB / 0.8849 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.01668, allocations: 27.88 kB / 0.885 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.01724, allocations: 261.6 kB / 0.8852 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.01724, allocations: 4 kB / 0.8852 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01725, allocations: 128 / 0.8852 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.01725, allocations: 11.98 kB / 0.8852 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.01749, allocations: 176.3 kB / 0.8854 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.01749, allocations: 0 / 0.8854 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.01772, allocations: 55.97 kB / 0.8854 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.01772, allocations: 3.938 kB / 0.8855 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.01775, allocations: 15.98 kB / 0.8855 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.01775, allocations: 3.938 kB / 0.8855 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.01776, allocations: 4 kB / 0.8855 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.01824, allocations: 278.7 kB / 0.8857 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.01836, allocations: 43.8 kB / 0.8858 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.0184, allocations: 11.94 kB / 0.8858 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/0.01848, allocations: 12 kB / 0.8858 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.01854, allocations: 19.95 kB / 0.8858 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.01856, allocations: 12 kB / 0.8858 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.01863, allocations: 127.2 kB / 0.886 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01863, allocations: 0 / 0.886 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003989/0.01903, allocations: 99.81 kB / 0.8861 GB, free: 13.32 MB / 0.8542 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.0005031/0.01953, allocations: 218.9 kB / 0.8863 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.01991, allocations: 164.1 kB / 0.8864 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01991, allocations: 4.094 kB / 0.8864 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.02009, allocations: 108.1 kB / 0.8865 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.02029, allocations: 15.94 kB / 0.8865 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.02097, allocations: 317.8 kB / 0.8868 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.02109, allocations: 91.81 kB / 0.8869 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.02132, allocations: 89.36 kB / 0.887 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.0214, allocations: 32.48 kB / 0.887 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.0214, allocations: 0 / 0.887 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of Templates: time 0.007507/0.02891, allocations: 2.549 MB / 0.8895 GB, free: 9.676 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.616769959917292]