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.00172/0.00172, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002004/0.002004, allocations: 164.2 kB / 22.46 MB, free: 5.375 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.614/1.614, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.026/3.026, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.228e-05, allocations: 9.172 kB / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004834/0.004876, allocations: 2.055 MB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.007961, allocations: 1.141 MB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.008307, allocations: 7.938 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.009046, allocations: 99.33 kB / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.009327, allocations: 55.52 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.01063, allocations: 265.5 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.01136, allocations: 311.1 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.01162, allocations: 59.52 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.012, allocations: 155.8 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.01231, allocations: 107.7 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.01241, allocations: 32 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.01303, allocations: 231.7 kB / 1.005 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.01318, allocations: 99.67 kB / 1.005 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.01335, allocations: 95.75 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009519/0.0143, allocations: 0.6115 MB / 1.005 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.01431, allocations: 4 kB / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01431, allocations: 0 / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.01433, allocations: 0 / 1.005 GB, free: 1.93 MB / 0.9512 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.00185/0.01618, allocations: 0.7331 MB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.01625, allocations: 11.98 kB / 1.006 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.0164, allocations: 36.7 kB / 1.006 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.01706, allocations: 270 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.01709, allocations: 16.66 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.01714, allocations: 16.38 kB / 1.006 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.01805, allocations: 380.1 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01807, allocations: 4 kB / 1.007 GB, free: 364 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.01809, allocations: 4 kB / 1.007 GB, free: 360 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.01811, allocations: 4 kB / 1.007 GB, free: 356 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009027/0.01901, allocations: 365.4 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.02021, allocations: 0.5358 MB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.02094, allocations: 311.6 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.02149, allocations: 269.8 kB / 1.008 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.02151, allocations: 8 kB / 1.008 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.02156, allocations: 38.5 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/0.02156, allocations: 0 / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.001944/0.0235, allocations: 0.848 MB / 1.009 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.02365, allocations: 136.5 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.02425, allocations: 348.5 kB / 1.01 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.02429, allocations: 33.7 kB / 1.01 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.02449, allocations: 168.5 kB / 1.01 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.02455, allocations: 39.64 kB / 1.01 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.02467, allocations: 49.7 kB / 1.01 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.02489, allocations: 338.8 kB / 1.01 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000662/0.02555, allocations: 426 kB / 1.011 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.02623, allocations: 419.4 kB / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.02746, allocations: 0.6977 MB / 1.012 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.02746, allocations: 4 kB / 1.012 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001567/0.02903, allocations: 0.9194 MB / 1.013 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.02921, allocations: 180.4 kB / 1.013 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.02922, allocations: 0 / 1.013 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.02925, allocations: 3.984 kB / 1.013 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.02945, allocations: 31.97 kB / 1.013 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.02945, allocations: 112 / 1.013 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.0297, allocations: 47.73 kB / 1.013 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.02973, allocations: 8 kB / 1.013 GB, free: 9.711 MB / 0.9669 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.0003383/0.03007, allocations: 263.4 kB / 1.013 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.03014, allocations: 31.81 kB / 1.013 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.0302, allocations: 25.95 kB / 1.013 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.03021, allocations: 4 kB / 1.013 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.03022, allocations: 4 kB / 1.013 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.03022, allocations: 3.938 kB / 1.013 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.03062, allocations: 241.1 kB / 1.013 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.03062, allocations: 0 / 1.013 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.0308, allocations: 27.97 kB / 1.013 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.03081, allocations: 3.984 kB / 1.013 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.03084, allocations: 8 kB / 1.013 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.03084, allocations: 0 / 1.013 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.03084, allocations: 0 / 1.013 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.03212, allocations: 0.7005 MB / 1.014 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.03219, allocations: 35.75 kB / 1.014 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.03225, allocations: 8 kB / 1.014 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.03248, allocations: 27.95 kB / 1.014 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.03265, allocations: 31.91 kB / 1.014 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.03267, allocations: 8 kB / 1.014 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003495/0.03302, allocations: 255 kB / 1.014 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.03302, allocations: 3.938 kB / 1.014 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005277/0.03355, allocations: 103.8 kB / 1.014 GB, free: 7.84 MB / 0.9669 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.0004955/0.03404, allocations: 171.1 kB / 1.015 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.03571, allocations: 1.087 MB / 1.016 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.03571, allocations: 0 / 1.016 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006773/0.03639, allocations: 451.2 kB / 1.016 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.03689, allocations: 76.53 kB / 1.016 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.03835, allocations: 0.7189 MB / 1.017 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.0386, allocations: 177.8 kB / 1.017 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.815e-05/0.03869, allocations: 13.66 kB / 1.017 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.03876, allocations: 24.5 kB / 1.017 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of SimCode: time 9.32e-07/0.03876, allocations: 4 kB / 1.017 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of Templates: time 0.01347/0.05223, allocations: 6.248 MB / 1.023 GB, free: 14.76 MB / 0.9825 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=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: 9.370302125811577]