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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 198.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002265/0.002265, allocations: 71.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9354/0.9376, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001732/0.9394, allocations: 0.6015 MB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.9419, allocations: 1.745 MB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.9419, allocations: 0 / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.9419, allocations: 4 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.685e-05/0.942, allocations: 3.938 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.9429, allocations: 309 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.9431, allocations: 131.8 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.9431, allocations: 8 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.9432, allocations: 51.89 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.9433, allocations: 51.92 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.9433, allocations: 11.94 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000523/0.9438, allocations: 343.5 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.9439, allocations: 35.91 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.944, allocations: 47.72 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.9443, allocations: 274.1 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9443, allocations: 0 / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9444, allocations: 0 / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9444, allocations: 4 kB / 1.278 GB, free: 0.9102 MB / 0.9669 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.0006927/0.945, allocations: 442.8 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.9451, allocations: 8.031 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.9451, allocations: 12.89 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.9453, allocations: 176.2 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.9453, allocations: 16.31 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.9453, allocations: 20.12 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.9457, allocations: 218.6 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.9457, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.9457, allocations: 4 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.9457, allocations: 4 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.946, allocations: 179.8 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.9463, allocations: 278.2 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.9471, allocations: 391.8 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.9473, allocations: 165.1 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.9476, allocations: 207.1 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.9477, allocations: 38.55 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.352e-06/0.9477, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0006835/0.9484, allocations: 385.4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.9485, allocations: 187.9 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.9485, allocations: 97.86 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.9486, allocations: 29.7 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.9486, allocations: 80.7 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.9487, allocations: 107.1 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.9488, allocations: 61.62 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9489, allocations: 318.8 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.9491, allocations: 91.86 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.9492, allocations: 145.2 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.9496, allocations: 254.3 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9496, allocations: 0 / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004627/0.9501, allocations: 293.6 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9501, allocations: 4 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9501, allocations: 8 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.9501, allocations: 4.062 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.9504, allocations: 55.91 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.9504, allocations: 4 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.9505, allocations: 15.89 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.9505, allocations: 15.98 kB / 1.282 GB, free: 12.27 MB / 0.9825 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.0001228/0.9506, allocations: 135.3 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.9507, allocations: 23.83 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.9513, allocations: 356.8 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.9513, allocations: 4 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9513, allocations: 4 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.9513, allocations: 3.984 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.9516, allocations: 257.4 kB / 1.282 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.9516, allocations: 4 kB / 1.282 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.9518, allocations: 51.91 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.9518, allocations: 7.938 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.9518, allocations: 12.36 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.9518, allocations: 8 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9518, allocations: 0 / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.9523, allocations: 357.5 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.9524, allocations: 121 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.9525, allocations: 4 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.9526, allocations: 8 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.9526, allocations: 23.97 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.9526, allocations: 15.98 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.9527, allocations: 75.28 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9527, allocations: 3.938 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003884/0.9531, allocations: 95.86 kB / 1.283 GB, free: 10.61 MB / 0.9825 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.0005338/0.9536, allocations: 217.9 kB / 1.283 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.954, allocations: 243.9 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.954, allocations: 3.938 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.9542, allocations: 128.8 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.9544, allocations: 16 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.955, allocations: 367 kB / 1.284 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.9553, allocations: 0.7202 MB / 1.285 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.9556, allocations: 109.4 kB / 1.285 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.9556, allocations: 31.41 kB / 1.285 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9556, allocations: 0 / 1.285 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of Templates: time 0.00616/0.9618, allocations: 2.639 MB / 1.288 GB, free: 6.094 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.089163545053452]