Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009249/0.0009249, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008335/0.0008335, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8945/0.8945, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.747/1.747, allocations: 377.9 MB / 0.6229 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.694e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001163/0.00119, allocations: 0.5917 MB / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.003327, allocations: 1.737 MB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.003352, allocations: 0 / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.003387, allocations: 4 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.003427, allocations: 3.938 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.004129, allocations: 306.6 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.004291, allocations: 135.8 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.004332, allocations: 3.938 kB / 0.985 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.004409, allocations: 63.92 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.004491, allocations: 63.91 kB / 0.9851 GB, free: 15.15 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.00451, allocations: 4 kB / 0.9851 GB, free: 15.15 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.004852, allocations: 335.4 kB / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.004903, allocations: 39.89 kB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.004944, allocations: 23.97 kB / 0.9855 GB, free: 14.76 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.005311, allocations: 359.1 kB / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005313, allocations: 0 / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.005315, allocations: 0 / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.005321, allocations: 3.938 kB / 0.9858 GB, free: 14.4 MB / 0.948 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.0005847/0.005905, allocations: 373.7 kB / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.00596, allocations: 8.031 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.006013, allocations: 12.89 kB / 0.9862 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.006126, allocations: 117.6 kB / 0.9863 GB, free: 13.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.006146, allocations: 8.375 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.006172, allocations: 12.38 kB / 0.9863 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.006458, allocations: 219.2 kB / 0.9865 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.006472, allocations: 7.938 kB / 0.9865 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.00649, allocations: 4 kB / 0.9865 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.0065, allocations: 8 kB / 0.9865 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.006728, allocations: 175.8 kB / 0.9867 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.00698, allocations: 209.8 kB / 0.9869 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.007533, allocations: 379.8 kB / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.00771, allocations: 173.1 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.007943, allocations: 44.97 kB / 0.9875 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.007967, allocations: 38.56 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.007968, allocations: 4 kB / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.0005546/0.008523, allocations: 386.6 kB / 0.9879 GB, free: 12.06 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.008606, allocations: 191.8 kB / 0.9881 GB, free: 11.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.003e-05/0.008666, allocations: 93.86 kB / 0.9882 GB, free: 11.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.008683, allocations: 33.7 kB / 0.9882 GB, free: 11.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.008706, allocations: 80.64 kB / 0.9883 GB, free: 11.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.008787, allocations: 114.9 kB / 0.9884 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.008847, allocations: 57.69 kB / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.008951, allocations: 322.8 kB / 0.9887 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.009053, allocations: 79.94 kB / 0.9888 GB, free: 11.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.009197, allocations: 150.2 kB / 0.989 GB, free: 10.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.009479, allocations: 257 kB / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.009484, allocations: 4 kB / 0.9892 GB, free: 10.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000333/0.009817, allocations: 285.4 kB / 0.9895 GB, free: 10.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.009834, allocations: 4 kB / 0.9895 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.009843, allocations: 0 / 0.9895 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.009864, allocations: 7.938 kB / 0.9895 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.01001, allocations: 59.91 kB / 0.9896 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.01001, allocations: 3.984 kB / 0.9896 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.01007, allocations: 15.89 kB / 0.9896 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.01008, allocations: 16 kB / 0.9896 GB, free: 10.2 MB / 0.948 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 9.984e-05/0.01018, allocations: 137.8 kB / 0.9897 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.01021, allocations: 19.89 kB / 0.9897 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.01076, allocations: 361.3 kB / 0.9901 GB, free: 9.676 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.01076, allocations: 7.938 kB / 0.9901 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.01077, allocations: 7.938 kB / 0.9901 GB, free: 9.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01078, allocations: 3.984 kB / 0.9901 GB, free: 9.656 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.01093, allocations: 181.1 kB / 0.9903 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01093, allocations: 0 / 0.9903 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.01105, allocations: 63.89 kB / 0.9903 GB, free: 9.387 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01105, allocations: 4 kB / 0.9903 GB, free: 9.383 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01107, allocations: 12 kB / 0.9903 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01107, allocations: 3.984 kB / 0.9904 GB, free: 9.367 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.01108, allocations: 7.938 kB / 0.9904 GB, free: 9.359 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.01141, allocations: 341.1 kB / 0.9907 GB, free: 8.992 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.01148, allocations: 35.86 kB / 0.9907 GB, free: 8.957 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.01149, allocations: 8 kB / 0.9907 GB, free: 8.949 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.01154, allocations: 7.984 kB / 0.9907 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.01159, allocations: 31.84 kB / 0.9908 GB, free: 8.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.0116, allocations: 16.3 kB / 0.9908 GB, free: 8.895 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.01164, allocations: 79.28 kB / 0.9909 GB, free: 8.816 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01164, allocations: 0 / 0.9909 GB, free: 8.816 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003071/0.01194, allocations: 99.8 kB / 0.991 GB, free: 8.719 MB / 0.948 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.0003103/0.01225, allocations: 218.9 kB / 0.9912 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.01257, allocations: 243.7 kB / 0.9914 GB, free: 8.258 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01257, allocations: 0 / 0.9914 GB, free: 8.258 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.01269, allocations: 119.8 kB / 0.9915 GB, free: 8.141 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.01284, allocations: 19.98 kB / 0.9915 GB, free: 8.121 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.01336, allocations: 388.1 kB / 0.9919 GB, free: 7.695 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.377e-05/0.01345, allocations: 99.75 kB / 0.992 GB, free: 7.578 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.01352, allocations: 40.47 kB / 0.992 GB, free: 7.539 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/0.01352, allocations: 0 / 0.992 GB, free: 7.539 MB / 0.948 GB Notification: Performance of Templates: time 0.003688/0.01721, allocations: 3.063 MB / 0.995 GB, free: 4.473 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.931823699735105]