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.001231/0.001231, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00181/0.003042, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001114/0.001114, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002439, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9839/0.9839, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0927/1.077, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.388/2.388, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3078/2.696, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.504e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003407/0.003422, allocations: 2.168 MB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.005654, allocations: 1.191 MB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.005807, allocations: 4 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.006226, allocations: 115.2 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.006358, allocations: 51.58 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.006998, allocations: 239.4 kB / 0.822 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.007426, allocations: 299.2 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.007584, allocations: 74.14 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.007828, allocations: 188.8 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.008011, allocations: 107.7 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.008057, allocations: 32 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.008541, allocations: 255.7 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.008665, allocations: 87.7 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.00878, allocations: 75.81 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.00936, allocations: 386.7 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.141e-05/0.009382, allocations: 0 / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.242e-06/0.009383, allocations: 4 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.92e-05/0.009412, allocations: 0 / 0.8234 GB, free: 13.62 MB / 0.8073 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.001229/0.01064, allocations: 0.7509 MB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.01068, allocations: 12.03 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.01076, allocations: 32.91 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.01105, allocations: 205.8 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.01107, allocations: 12.66 kB / 0.8244 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.0111, allocations: 16.38 kB / 0.8244 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.01148, allocations: 292.6 kB / 0.8247 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.01149, allocations: 0 / 0.8247 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.01151, allocations: 8 kB / 0.8247 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.01152, allocations: 4 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.01171, allocations: 181.5 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.01225, allocations: 367.3 kB / 0.8253 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.01248, allocations: 191.6 kB / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01259, allocations: 173.9 kB / 0.8256 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.01261, allocations: 4 kB / 0.8256 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.01263, allocations: 34.56 kB / 0.8256 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.01263, allocations: 0 / 0.8256 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0004116/0.01304, allocations: 0.5151 MB / 0.8261 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.01308, allocations: 51.41 kB / 0.8262 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.01325, allocations: 266.9 kB / 0.8264 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01327, allocations: 33.81 kB / 0.8265 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.01334, allocations: 145 kB / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.01337, allocations: 43.62 kB / 0.8267 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.01343, allocations: 49.67 kB / 0.8267 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.01353, allocations: 338.8 kB / 0.827 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.01367, allocations: 257 kB / 0.8273 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.01381, allocations: 262 kB / 0.8275 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.01424, allocations: 441.9 kB / 0.8279 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01424, allocations: 0 / 0.8279 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003381/0.01458, allocations: 0.5684 MB / 0.8285 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/0.01467, allocations: 178.2 kB / 0.8287 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01467, allocations: 3.938 kB / 0.8287 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.01468, allocations: 0 / 0.8287 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.322e-05/0.01476, allocations: 27.98 kB / 0.8287 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.01476, allocations: 0 / 0.8287 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.01483, allocations: 39.83 kB / 0.8287 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.01485, allocations: 7.984 kB / 0.8287 GB, free: 7.617 MB / 0.8073 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.0001223/0.01497, allocations: 205.8 kB / 0.8289 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.015, allocations: 31.91 kB / 0.829 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.01503, allocations: 21.95 kB / 0.829 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01504, allocations: 4 kB / 0.829 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01504, allocations: 3.984 kB / 0.829 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01504, allocations: 0 / 0.829 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.0152, allocations: 165.7 kB / 0.8292 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0152, allocations: 7.938 kB / 0.8292 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.01525, allocations: 23.98 kB / 0.8292 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.01528, allocations: 31.75 kB / 0.8292 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.01528, allocations: 0 / 0.8292 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01529, allocations: 4 kB / 0.8292 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.01529, allocations: 0 / 0.8292 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01529, allocations: 0 / 0.8292 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.0156, allocations: 489.5 kB / 0.8297 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.01562, allocations: 11.94 kB / 0.8297 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.01569, allocations: 11.98 kB / 0.8297 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.01579, allocations: 31.97 kB / 0.8297 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.0158, allocations: 7.938 kB / 0.8297 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.01587, allocations: 100.6 kB / 0.8298 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01587, allocations: 0 / 0.8298 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000282/0.01616, allocations: 115.8 kB / 0.83 GB, free: 6.273 MB / 0.8073 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.0002288/0.01639, allocations: 148.3 kB / 0.8301 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004668/0.01685, allocations: 0.7934 MB / 0.8309 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.01686, allocations: 4 kB / 0.8309 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.01705, allocations: 361.7 kB / 0.8312 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.01731, allocations: 82.23 kB / 0.8313 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.01853, allocations: 0.6498 MB / 0.8319 GB, free: 4 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.887e-05/0.0186, allocations: 107.9 kB / 0.832 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.538e-05/0.01865, allocations: 17.64 kB / 0.8321 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.01884, allocations: 131.3 kB / 0.8322 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.01884, allocations: 0 / 0.8322 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.008234/0.02707, allocations: 6.94 MB / 0.839 GB, free: 12.94 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.367226525209844]