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.001757/0.001757, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002265/0.002265, allocations: 156.3 kB / 23.01 MB, free: 4.945 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.515/1.515, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.849/2.849, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002187/0.002187, allocations: 67.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001951/1.067, allocations: 0.6066 MB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002388/1.07, allocations: 1.73 MB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/1.07, allocations: 0 / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.354e-05/1.07, allocations: 2.781 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/1.07, allocations: 0 / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009079/1.071, allocations: 315.2 kB / 1.157 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000161/1.071, allocations: 134.8 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/1.071, allocations: 5.719 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.303e-05/1.071, allocations: 47.73 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/1.071, allocations: 53.92 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/1.071, allocations: 5.406 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/1.071, allocations: 332 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/1.071, allocations: 47.77 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/1.071, allocations: 36.89 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/1.072, allocations: 283.8 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.072, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.964e-06/1.072, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.072, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 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.0005977/1.072, allocations: 378.6 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/1.072, allocations: 15.41 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/1.073, allocations: 9.984 kB / 1.158 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.152e-05/1.073, allocations: 124.4 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/1.073, allocations: 9.797 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/1.073, allocations: 15.84 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/1.073, allocations: 216.8 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.073, allocations: 0 / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/1.073, allocations: 4 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.073, allocations: 5.781 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/1.073, allocations: 175.1 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/1.073, allocations: 211 kB / 1.159 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/1.074, allocations: 396.9 kB / 1.159 GB, free: 30.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/1.074, allocations: 167.8 kB / 1.159 GB, free: 30.22 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/1.074, allocations: 36.02 kB / 1.159 GB, free: 30.22 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/1.074, allocations: 44.09 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.362e-06/1.074, allocations: 0 / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.0005988/1.075, allocations: 393.9 kB / 1.16 GB, free: 30.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/1.075, allocations: 189.4 kB / 1.16 GB, free: 29.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.218e-05/1.075, allocations: 93.86 kB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/1.075, allocations: 32.58 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.509e-05/1.075, allocations: 80.64 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/1.075, allocations: 108.6 kB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/1.075, allocations: 55.75 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/1.075, allocations: 321.1 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/1.076, allocations: 87 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/1.076, allocations: 141.3 kB / 1.161 GB, free: 29.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/1.076, allocations: 262.2 kB / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.076, allocations: 128 / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003729/1.076, allocations: 294.6 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.076, allocations: 5.5 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.076, allocations: 2.875 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.076, allocations: 2.875 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/1.077, allocations: 58.08 kB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.077, allocations: 5.844 kB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/1.077, allocations: 20.97 kB / 1.161 GB, free: 28.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/1.077, allocations: 19.61 kB / 1.161 GB, free: 28.8 MB / 1.076 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 8.567e-05/1.077, allocations: 128.8 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/1.077, allocations: 16.73 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/1.077, allocations: 363.5 kB / 1.162 GB, free: 28.53 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.077, allocations: 13.98 kB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.077, allocations: 0 / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.077, allocations: 2.812 kB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/1.078, allocations: 190.5 kB / 1.162 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.078, allocations: 3.188 kB / 1.162 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/1.078, allocations: 61.3 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.078, allocations: 3.938 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/1.078, allocations: 9.625 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.078, allocations: 6.312 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.078, allocations: 10.81 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/1.078, allocations: 329.9 kB / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/1.078, allocations: 44.58 kB / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/1.078, allocations: 11.03 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/1.078, allocations: 6.938 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/1.078, allocations: 36.39 kB / 1.162 GB, free: 28.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/1.078, allocations: 8.281 kB / 1.162 GB, free: 28.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.946e-05/1.078, allocations: 75.28 kB / 1.162 GB, free: 28.05 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.078, allocations: 0 / 1.162 GB, free: 28.05 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003985/1.079, allocations: 101 kB / 1.163 GB, free: 28.04 MB / 1.076 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.0003456/1.079, allocations: 208.9 kB / 1.163 GB, free: 27.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003717/1.08, allocations: 235.3 kB / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.08, allocations: 0 / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/1.08, allocations: 130.8 kB / 1.163 GB, free: 27.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/1.08, allocations: 24.92 kB / 1.163 GB, free: 27.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/1.08, allocations: 354.7 kB / 1.164 GB, free: 27.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.541e-05/1.081, allocations: 100.3 kB / 1.164 GB, free: 27.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002026/1.081, allocations: 107.7 kB / 1.164 GB, free: 27.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/1.081, allocations: 37.2 kB / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/1.081, allocations: 0 / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of Templates: time 0.005487/1.086, allocations: 2.48 MB / 1.166 GB, free: 27.26 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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: 9.49511751101818]