Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001752/0.001752, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.002087/0.002087, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.467/1.467, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 67.89 kB / 1.057 GB, free: 1.992 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3986, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001989/0.4005, allocations: 0.5952 MB / 1.215 GB, free: 368 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.4034, allocations: 1.737 MB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.4034, allocations: 4 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.4034, allocations: 3.938 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.932e-05/0.4034, allocations: 0 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.4044, allocations: 305.8 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.4046, allocations: 131.8 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.4046, allocations: 3.984 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.4047, allocations: 43.97 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.4048, allocations: 67.84 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.4049, allocations: 4 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.4054, allocations: 331.6 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.4055, allocations: 43.89 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.4056, allocations: 51.77 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.406, allocations: 271.2 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.406, allocations: 0 / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.406, allocations: 0 / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.406, allocations: 4 kB / 1.218 GB, free: 13.36 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.0007592/0.4067, allocations: 438.8 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4068, allocations: 12.03 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.4068, allocations: 12.89 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.407, allocations: 180.2 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.407, allocations: 8.375 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.407, allocations: 16.11 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.4074, allocations: 216.1 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4074, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.4074, allocations: 12 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4074, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.4077, allocations: 175.8 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.4081, allocations: 294 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.4089, allocations: 387.8 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.4091, allocations: 177 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.4095, allocations: 195.2 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4096, allocations: 38.56 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.4096, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.0007253/0.4103, allocations: 394.5 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.4104, allocations: 187.9 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.4105, allocations: 89.86 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.4105, allocations: 29.7 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.4106, allocations: 80.7 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4107, allocations: 107.1 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.4108, allocations: 53.64 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.411, allocations: 327 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.4111, allocations: 91.92 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.4113, allocations: 137.1 kB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.4118, allocations: 261.2 kB / 1.221 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.4118, allocations: 8 kB / 1.221 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005076/0.4123, allocations: 285.3 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4123, allocations: 8 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4123, allocations: 0 / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4123, allocations: 4 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.4126, allocations: 55.89 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.4126, allocations: 4 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.4127, allocations: 15.89 kB / 1.222 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.4127, allocations: 19.92 kB / 1.222 GB, free: 8.711 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.0001449/0.4129, allocations: 133.8 kB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.4129, allocations: 15.89 kB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006726/0.4136, allocations: 369.3 kB / 1.222 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4136, allocations: 4 kB / 1.222 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4136, allocations: 0 / 1.222 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4136, allocations: 7.938 kB / 1.222 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.4139, allocations: 265.3 kB / 1.222 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4139, allocations: 0 / 1.222 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.4141, allocations: 59.91 kB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4142, allocations: 0 / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.4142, allocations: 11.98 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.4142, allocations: 4 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.4142, allocations: 7.938 kB / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.4147, allocations: 345.1 kB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.4148, allocations: 121 kB / 1.223 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.4149, allocations: 8 kB / 1.223 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.415, allocations: 4 kB / 1.223 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.415, allocations: 23.91 kB / 1.223 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.4151, allocations: 15.98 kB / 1.223 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.4151, allocations: 83.28 kB / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.4151, allocations: 0 / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00042/0.4155, allocations: 91.86 kB / 1.223 GB, free: 7.055 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.0005821/0.4161, allocations: 215.3 kB / 1.223 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.4166, allocations: 243.6 kB / 1.224 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4166, allocations: 0 / 1.224 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.4168, allocations: 135.9 kB / 1.224 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.417, allocations: 12 kB / 1.224 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.4176, allocations: 392 kB / 1.224 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.418, allocations: 0.7123 MB / 1.225 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.4181, allocations: 35.41 kB / 1.225 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.4181, allocations: 4 kB / 1.225 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of Templates: time 0.005773/0.4239, allocations: 2.899 MB / 1.228 GB, free: 2.348 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.107515013078228]