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.001407/0.001407, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001573/0.001573, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.405/3.405, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002093/0.002093, allocations: 66.73 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4781, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002108/0.4802, allocations: 0.5984 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.4832, allocations: 1.733 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.4832, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.4832, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.4833, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4843, allocations: 307.2 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.4845, allocations: 131.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.4846, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.4846, allocations: 51.89 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.4848, allocations: 59.92 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.4848, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.4853, allocations: 347.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.4854, allocations: 43.83 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.4855, allocations: 43.78 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.4859, allocations: 291.2 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4859, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4859, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.4859, allocations: 0 / 1.331 GB, free: 13.33 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.00073/0.4866, allocations: 373.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4867, allocations: 8.031 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.4867, allocations: 12.89 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.4869, allocations: 114.4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4869, allocations: 12.38 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.4869, allocations: 16.12 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.4873, allocations: 210.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4873, allocations: 7.875 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.4873, allocations: 8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.4873, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.4876, allocations: 171.8 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.488, allocations: 213.7 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.4888, allocations: 391.8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.489, allocations: 169.2 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.4893, allocations: 44.91 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.4894, allocations: 46.41 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.4894, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007322/0.4901, allocations: 385.2 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.4902, allocations: 183.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.4903, allocations: 97.84 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.4903, allocations: 33.83 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.4904, allocations: 84.64 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.4905, allocations: 103.1 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.19e-05/0.4906, allocations: 57.69 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4908, allocations: 322.8 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4909, allocations: 83.94 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.4911, allocations: 151 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.4915, allocations: 257 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4915, allocations: 0 / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004818/0.492, allocations: 293.5 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.492, allocations: 5.719 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.492, allocations: 4 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.492, allocations: 4 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.4923, allocations: 59.91 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4923, allocations: 3.984 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.4924, allocations: 19.84 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.4924, allocations: 12 kB / 1.334 GB, free: 9.113 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.000149/0.4926, allocations: 146.2 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.4926, allocations: 11.89 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.4933, allocations: 360.8 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4933, allocations: 4 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4933, allocations: 8.562 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.4933, allocations: 3.984 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.4936, allocations: 181.1 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.4936, allocations: 4 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4938, allocations: 63.89 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4938, allocations: 3.938 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.4939, allocations: 15.94 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4939, allocations: 3.984 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.4939, allocations: 7.938 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.4944, allocations: 333.3 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4945, allocations: 43.81 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.4945, allocations: 19.92 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.4946, allocations: 4 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.4947, allocations: 27.95 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4947, allocations: 8 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.4948, allocations: 79.28 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4948, allocations: 0 / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004347/0.4952, allocations: 99.8 kB / 1.336 GB, free: 7.633 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.0004456/0.4956, allocations: 206.9 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.4961, allocations: 235.8 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4961, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.4963, allocations: 137.1 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.4965, allocations: 15.94 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.000623/0.4971, allocations: 358.5 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.4972, allocations: 99.73 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.4974, allocations: 109.3 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.4975, allocations: 31.42 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4975, allocations: 3.938 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of Templates: time 0.006692/0.5042, allocations: 2.624 MB / 1.339 GB, free: 3.766 MB / 1.029 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 cvode -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.763436213004752]