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.001395/0.001395, allocations: 78.81 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001494/0.001494, allocations: 162.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.885/2.885, allocations: 389 MB / 0.633 GB, free: 0.957 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.175e-06/2.175e-06, allocations: 0 / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.859e-05, allocations: 2.281 kB / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001854/0.001883, allocations: 0.6186 MB / 1.001 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.004951, allocations: 1.73 MB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.004974, allocations: 0 / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.005006, allocations: 3.938 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.005042, allocations: 0 / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009701/0.006012, allocations: 318.5 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.006215, allocations: 127.8 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.006255, allocations: 4 kB / 1.003 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.006363, allocations: 67.92 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.006474, allocations: 55.92 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.006501, allocations: 4 kB / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.007076, allocations: 331.5 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.007142, allocations: 47.81 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.007201, allocations: 31.91 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.007731, allocations: 355.1 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.007735, allocations: 0 / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.02e-07/0.007735, allocations: 0 / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.007742, allocations: 0 / 1.004 GB, free: 3.543 MB / 0.9512 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.000738/0.00848, allocations: 373.7 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.008521, allocations: 8.031 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.008577, allocations: 16.84 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.008712, allocations: 109.7 kB / 1.004 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.008727, allocations: 12.38 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.00876, allocations: 15.94 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.009184, allocations: 218.6 kB / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.009199, allocations: 3.938 kB / 1.004 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.00922, allocations: 12 kB / 1.004 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.009227, allocations: 4 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.009542, allocations: 171.8 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.009863, allocations: 209.8 kB / 1.005 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/0.0107, allocations: 383.8 kB / 1.005 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.01096, allocations: 173.2 kB / 1.005 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.01123, allocations: 44.84 kB / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.01127, allocations: 46.5 kB / 1.005 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.01127, allocations: 0 / 1.005 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.0007688/0.01204, allocations: 385.2 kB / 1.006 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.01216, allocations: 183.9 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.01224, allocations: 93.84 kB / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.01227, allocations: 33.7 kB / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.01232, allocations: 80.64 kB / 1.006 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.01243, allocations: 111 kB / 1.006 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.01252, allocations: 61.67 kB / 1.006 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.01275, allocations: 318.8 kB / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.01291, allocations: 88.05 kB / 1.007 GB, free: 168 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.01311, allocations: 142.5 kB / 1.007 GB, free: 8 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.01355, allocations: 261 kB / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01356, allocations: 0 / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005064/0.01406, allocations: 289.4 kB / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.01408, allocations: 10.02 kB / 1.007 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01409, allocations: 0 / 1.007 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.01411, allocations: 4 kB / 1.007 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.01443, allocations: 59.91 kB / 1.007 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01443, allocations: 0 / 1.007 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.01453, allocations: 15.89 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.01456, allocations: 15.98 kB / 1.008 GB, free: 15.34 MB / 0.9669 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.0001332/0.01469, allocations: 138.3 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.01473, allocations: 19.83 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/0.0154, allocations: 349.6 kB / 1.008 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.01541, allocations: 4 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01541, allocations: 4 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.01542, allocations: 7.922 kB / 1.008 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.01567, allocations: 189.1 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.01567, allocations: 7.938 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.01591, allocations: 55.97 kB / 1.008 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.01591, allocations: 7.938 kB / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.01594, allocations: 15.98 kB / 1.008 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.01594, allocations: 3.938 kB / 1.008 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01594, allocations: 4 kB / 1.008 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.01655, allocations: 329.7 kB / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.01664, allocations: 43.84 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.01667, allocations: 15.88 kB / 1.009 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.01676, allocations: 4 kB / 1.009 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.01682, allocations: 27.95 kB / 1.009 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.01684, allocations: 11.98 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.0169, allocations: 87.22 kB / 1.009 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.0169, allocations: 0 / 1.009 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004083/0.01731, allocations: 99.8 kB / 1.009 GB, free: 13.86 MB / 0.9669 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.0004768/0.01779, allocations: 218.6 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.01824, allocations: 235.7 kB / 1.009 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01824, allocations: 0 / 1.009 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.01851, allocations: 133 kB / 1.009 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.0187, allocations: 16.03 kB / 1.009 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.01933, allocations: 366.6 kB / 1.01 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.01944, allocations: 95.81 kB / 1.01 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000232/0.01967, allocations: 113.3 kB / 1.01 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.01975, allocations: 32.47 kB / 1.01 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of SimCode: time 2.9e-07/0.01975, allocations: 0 / 1.01 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of Templates: time 0.006549/0.0263, allocations: 2.522 MB / 1.013 GB, free: 10.1 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 800] 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: 8.369252070784569]