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.001546/0.001546, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001748/0.001748, allocations: 217.4 kB / 23.05 MB, free: 4.844 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.001998/0.001998, allocations: 69.75 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3751, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001781/0.3769, allocations: 0.5945 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.3796, allocations: 1.733 MB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.3796, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.3797, allocations: 3.984 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.233e-05/0.3797, allocations: 3.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.3807, allocations: 312.1 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.3809, allocations: 131.8 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.3809, allocations: 8 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.381, allocations: 47.95 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3811, allocations: 63.84 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.3811, allocations: 8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.3816, allocations: 324.3 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.3817, allocations: 47.89 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.3818, allocations: 31.84 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.3822, allocations: 287.2 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3822, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3822, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3822, allocations: 4 kB / 1.331 GB, free: 13.34 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.0006485/0.3828, allocations: 377.6 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3829, allocations: 12.03 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.3829, allocations: 8.891 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.383, allocations: 114.4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3831, allocations: 8.375 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.3831, allocations: 16.12 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.3834, allocations: 218.6 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3834, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.3835, allocations: 7.984 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3835, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3838, allocations: 171.8 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.384, allocations: 217.8 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.3848, allocations: 387.8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.385, allocations: 161.2 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.3853, allocations: 44.97 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3853, allocations: 50.34 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.3853, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0006784/0.386, allocations: 386.6 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3861, allocations: 191.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.3862, allocations: 93.86 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3862, allocations: 29.7 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.3862, allocations: 80.64 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3863, allocations: 103.1 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.3864, allocations: 61.75 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3866, allocations: 326.8 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3867, allocations: 87.92 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3869, allocations: 141.6 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.3873, allocations: 265.1 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3873, allocations: 0 / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004617/0.3877, allocations: 293.3 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3878, allocations: 6.031 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3878, allocations: 4 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3878, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.388, allocations: 59.89 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.388, allocations: 11.94 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.426e-05/0.3881, allocations: 19.84 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3881, allocations: 15.98 kB / 1.334 GB, free: 9.105 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.0001334/0.3883, allocations: 138.2 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.3883, allocations: 11.89 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.3889, allocations: 369.5 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3889, allocations: 4 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3889, allocations: 0 / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.389, allocations: 4 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3892, allocations: 181.1 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3892, allocations: 8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.3894, allocations: 55.89 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.3894, allocations: 7.938 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.3894, allocations: 15.97 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.3894, allocations: 7.938 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3894, allocations: 0 / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.3899, allocations: 337.3 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.39, allocations: 43.8 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.39, allocations: 11.94 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.3901, allocations: 11.94 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.3902, allocations: 19.95 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.3902, allocations: 16 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.3902, allocations: 83.27 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3902, allocations: 0 / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004113/0.3906, allocations: 99.81 kB / 1.336 GB, free: 7.629 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.0003963/0.391, allocations: 194.9 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004201/0.3915, allocations: 240.4 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3915, allocations: 3.938 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.3916, allocations: 132.1 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.3918, allocations: 19.92 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.3925, allocations: 391.9 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.3926, allocations: 99.75 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.3927, allocations: 35.41 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3927, allocations: 4 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of Templates: time 0.005432/0.3981, allocations: 3.035 MB / 1.34 GB, free: 3.41 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 -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: 11.54140378208831]