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.001796/0.001796, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002834/0.002834, allocations: 214.7 kB / 22.24 MB, free: 4.855 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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 3.4/3.4, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002183/0.002183, allocations: 71.36 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3989, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002187/0.4011, allocations: 0.6029 MB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.404, allocations: 1.73 MB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.4041, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.4041, allocations: 3.938 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.45e-05/0.4041, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.4054, allocations: 312.2 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.4056, allocations: 127.8 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.4056, allocations: 4 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.4057, allocations: 51.89 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.4059, allocations: 63.86 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.4059, allocations: 4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006626/0.4066, allocations: 335.6 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.4066, allocations: 35.91 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.4067, allocations: 43.78 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.4073, allocations: 287.2 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4073, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4073, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4073, allocations: 3.938 kB / 1.367 GB, free: 9.953 MB / 1.061 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.0007744/0.4081, allocations: 375.3 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4081, allocations: 8.031 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.4082, allocations: 8.891 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4083, allocations: 118.2 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.4083, allocations: 12 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.4083, allocations: 15.94 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.4087, allocations: 219.2 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4087, allocations: 0 / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.4088, allocations: 8 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4088, allocations: 7.938 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.4091, allocations: 175.7 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.4094, allocations: 205.7 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.4102, allocations: 399.8 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.4104, allocations: 169.2 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/0.4107, allocations: 40.97 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.4108, allocations: 42.5 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.704e-06/0.4108, allocations: 0 / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0007162/0.4115, allocations: 386 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.4116, allocations: 191.9 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.4117, allocations: 93.86 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.4117, allocations: 33.7 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.4117, allocations: 80.64 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.4118, allocations: 99.12 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.4119, allocations: 57.69 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4121, allocations: 318.8 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.4122, allocations: 91.92 kB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.4124, allocations: 133.1 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.4128, allocations: 257.7 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4128, allocations: 7.938 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004911/0.4133, allocations: 289.3 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4133, allocations: 12.12 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4133, allocations: 0 / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.4133, allocations: 4.375 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.4136, allocations: 59.83 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4136, allocations: 4 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.4137, allocations: 19.89 kB / 1.371 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.4137, allocations: 11.98 kB / 1.371 GB, free: 5.75 MB / 1.061 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.0001402/0.4139, allocations: 145.6 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.4139, allocations: 11.95 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.4146, allocations: 364.8 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.4146, allocations: 8 kB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4146, allocations: 4 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4146, allocations: 0 / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.4148, allocations: 185.1 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4148, allocations: 0 / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.415, allocations: 63.83 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4151, allocations: 0 / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.4151, allocations: 11.98 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4151, allocations: 4 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4151, allocations: 384 / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.4156, allocations: 357.1 kB / 1.372 GB, free: 4.535 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4157, allocations: 43.86 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.4157, allocations: 7.984 kB / 1.372 GB, free: 4.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.4158, allocations: 4 kB / 1.372 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.4159, allocations: 27.95 kB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.4159, allocations: 12 kB / 1.372 GB, free: 4.441 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.416, allocations: 75.28 kB / 1.372 GB, free: 4.367 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.416, allocations: 0 / 1.372 GB, free: 4.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004428/0.4164, allocations: 99.8 kB / 1.373 GB, free: 4.27 MB / 1.061 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.0004586/0.4169, allocations: 203 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004554/0.4173, allocations: 239.7 kB / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4173, allocations: 4 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.4175, allocations: 127.8 kB / 1.373 GB, free: 3.695 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.4177, allocations: 13.56 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.4184, allocations: 359.8 kB / 1.373 GB, free: 3.293 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4185, allocations: 103.7 kB / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00024/0.4187, allocations: 109.3 kB / 1.374 GB, free: 3.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.4188, allocations: 27.42 kB / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.4188, allocations: 4 kB / 1.374 GB, free: 3.031 MB / 1.061 GB Notification: Performance of Templates: time 0.006679/0.4255, allocations: 2.547 MB / 1.376 GB, free: 496 kB / 1.061 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: 9.35169812105596]