Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.00233/0.00233, 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.002827/0.002827, allocations: 209.6 kB / 22.24 MB, free: 4.859 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.679/1.679, allocations: 230.6 MB / 256 MB, free: 8.094 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.649/3.649, allocations: 0.5107 GB / 0.8158 GB, free: 17.91 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.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [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.002203/0.002203, allocations: 66.14 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.49, allocations: 181.9 MB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00417/0.4941, allocations: 2.05 MB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.4964, allocations: 1.13 MB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.4965, allocations: 4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.497, allocations: 119.2 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.4971, allocations: 51.58 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.4979, allocations: 251.5 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.4984, allocations: 299.3 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.4986, allocations: 67.44 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.4987, allocations: 111.6 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.4989, allocations: 123.5 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.4989, allocations: 28 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.4994, allocations: 231.7 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.4995, allocations: 99.66 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.4997, allocations: 119.4 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.5004, allocations: 0.5566 MB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5004, allocations: 3.938 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5004, allocations: 3.938 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.5004, allocations: 0 / 1.369 GB, free: 8.406 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001421/0.5019, allocations: 0.7525 MB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5019, allocations: 8.031 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.502, allocations: 36.7 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.5025, allocations: 266.8 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.5025, allocations: 12.66 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.5025, allocations: 19.94 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.5033, allocations: 383.8 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5033, allocations: 0 / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.5033, allocations: 4 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5033, allocations: 4 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007654/0.5041, allocations: 365.5 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.5051, allocations: 0.528 MB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.5058, allocations: 311.7 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.5062, allocations: 273.8 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.5063, allocations: 4 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.5063, allocations: 30.56 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.5063, allocations: 0 / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.001608/0.5079, allocations: 0.8503 MB / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.508, allocations: 136.5 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.5085, allocations: 356.4 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.5085, allocations: 29.7 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.5087, allocations: 176.5 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.5087, allocations: 43.58 kB / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.5088, allocations: 49.7 kB / 1.373 GB, free: 3.473 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.509, allocations: 342.8 kB / 1.374 GB, free: 3.129 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.5096, allocations: 422 kB / 1.374 GB, free: 2.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/0.5103, allocations: 418.1 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.5113, allocations: 0.6974 MB / 1.375 GB, free: 1.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5113, allocations: 0 / 1.375 GB, free: 1.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001373/0.5127, allocations: 0.9169 MB / 1.376 GB, free: 496 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.5129, allocations: 182.2 kB / 1.376 GB, free: 276 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5129, allocations: 0 / 1.376 GB, free: 276 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.5129, allocations: 3.984 kB / 1.376 GB, free: 272 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.5131, allocations: 35.91 kB / 1.376 GB, free: 236 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5131, allocations: 0 / 1.376 GB, free: 236 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.5133, allocations: 35.86 kB / 1.376 GB, free: 200 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.5133, allocations: 12 kB / 1.376 GB, free: 188 kB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0002997/0.5136, allocations: 259.9 kB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.5137, allocations: 31.81 kB / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.5137, allocations: 29.95 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5137, allocations: 3.938 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5138, allocations: 0 / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5138, allocations: 7.984 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.5141, allocations: 241.2 kB / 1.377 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5141, allocations: 0 / 1.377 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.5143, allocations: 35.91 kB / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5143, allocations: 3.984 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.5143, allocations: 7.938 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5143, allocations: 3.984 kB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5143, allocations: 4 kB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.5154, allocations: 0.7083 MB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.5155, allocations: 35.75 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.5156, allocations: 8 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.5158, allocations: 31.95 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.5159, allocations: 23.97 kB / 1.378 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.5159, allocations: 8 kB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002919/0.5162, allocations: 255 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.5162, allocations: 0 / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004571/0.5167, allocations: 103.8 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0003199/0.517, allocations: 163 kB / 1.378 GB, free: 14.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.5185, allocations: 1.081 MB / 1.379 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5185, allocations: 0 / 1.379 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006462/0.5192, allocations: 459.1 kB / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.5197, allocations: 76.92 kB / 1.38 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.521, allocations: 0.7344 MB / 1.381 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.5212, allocations: 177.8 kB / 1.381 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.5213, allocations: 21.62 kB / 1.381 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.5214, allocations: 23.44 kB / 1.381 GB, free: 11.31 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.5214, allocations: 0 / 1.381 GB, free: 11.31 MB / 1.076 GB Notification: Performance of Templates: time 0.01352/0.5349, allocations: 6.541 MB / 1.387 GB, free: 4.902 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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: 10.719517456367612]