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.001907/0.001907, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002315/0.002315, allocations: 210.6 kB / 22.99 MB, free: 4.957 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 66.55 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3394, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001836/0.3412, allocations: 0.6033 MB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.344, allocations: 1.736 MB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.344, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.3441, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.66e-05/0.3441, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009754/0.3451, allocations: 314.9 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3453, allocations: 127.8 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.3453, allocations: 4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.3454, allocations: 55.89 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.3455, allocations: 63.86 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.3455, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000568/0.3461, allocations: 351.6 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.3462, allocations: 39.89 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.3462, allocations: 35.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.3466, allocations: 283.3 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3466, allocations: 3.938 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3466, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3466, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 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.0007241/0.3474, allocations: 377.7 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3474, allocations: 8.031 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.3474, allocations: 8.891 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.3476, allocations: 122.4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3476, allocations: 8.375 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.3476, allocations: 16.12 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.348, allocations: 210.6 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.348, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.348, allocations: 12 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.348, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.3483, allocations: 179.8 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.3486, allocations: 205.8 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.3495, allocations: 383.8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3497, allocations: 165.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.35, allocations: 36.91 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.35, allocations: 58.39 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 3.647e-06/0.35, allocations: 3.984 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007496/0.3508, allocations: 393.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.3509, allocations: 183.9 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.351, allocations: 89.86 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.351, allocations: 33.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.3511, allocations: 80.64 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3512, allocations: 111.1 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/0.3513, allocations: 53.69 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3514, allocations: 322.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3516, allocations: 95.98 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3518, allocations: 149.5 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.3522, allocations: 258.5 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3522, allocations: 0 / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005038/0.3527, allocations: 293.6 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3527, allocations: 8 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3527, allocations: 0 / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3527, allocations: 4 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.353, allocations: 55.91 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.353, allocations: 4 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3532, allocations: 23.83 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3532, allocations: 12 kB / 1.334 GB, free: 9.188 MB / 1.029 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.0001263/0.3533, allocations: 138.2 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3533, allocations: 19.88 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006988/0.354, allocations: 356.8 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3541, allocations: 4 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3541, allocations: 4 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3541, allocations: 3.984 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3543, allocations: 185.1 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3543, allocations: 0 / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3546, allocations: 60.33 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3546, allocations: 11.94 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3546, allocations: 8 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3546, allocations: 8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3546, allocations: 0 / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.3551, allocations: 341.2 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3553, allocations: 43.81 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.3553, allocations: 11.94 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3554, allocations: 4 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.3554, allocations: 27.95 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3555, allocations: 11.98 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.3555, allocations: 79.28 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3555, allocations: 3.938 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00045/0.356, allocations: 103.8 kB / 1.336 GB, free: 7.711 MB / 1.029 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.0004046/0.3564, allocations: 194.9 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.3568, allocations: 239.7 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3568, allocations: 3.938 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.357, allocations: 124.9 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.3572, allocations: 26.22 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.3579, allocations: 354.7 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.358, allocations: 103.7 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002377/0.3582, allocations: 109.3 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.3583, allocations: 39.34 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of SimCode: time 7.82e-07/0.3583, allocations: 0 / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of Templates: time 0.006405/0.3647, allocations: 2.623 MB / 1.339 GB, free: 3.844 MB / 1.029 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 -s gbode -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/jenkins1/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: 8.899371671999688]