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.0008858/0.0008858, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001197/0.001197, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8918/0.8918, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.786/1.786, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.974e-06/1.974e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.589e-05, allocations: 6.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002866/0.002892, allocations: 2.038 MB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.004547, allocations: 1.145 MB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.00466, allocations: 4 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.005102, allocations: 111.3 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.005189, allocations: 59.45 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.005878, allocations: 261.9 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.006199, allocations: 303.2 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.006388, allocations: 71.48 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.006548, allocations: 155.7 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.0067, allocations: 103.7 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.00674, allocations: 36 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.007414, allocations: 235.7 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.007539, allocations: 87.69 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.007627, allocations: 99.75 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.008174, allocations: 0.6115 MB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.008177, allocations: 0 / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.323e-06/0.008178, allocations: 0 / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.008184, allocations: 0 / 1.006 GB, free: 7.668 MB / 0.9636 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.0008972/0.009081, allocations: 0.7369 MB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.009122, allocations: 12.03 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.009186, allocations: 36.7 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.009493, allocations: 266 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.009508, allocations: 12.66 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.009533, allocations: 16.38 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.009964, allocations: 384.1 kB / 1.008 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.009974, allocations: 4 kB / 1.008 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.009992, allocations: 8 kB / 1.008 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.009998, allocations: 4 kB / 1.008 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.01038, allocations: 361.4 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.01105, allocations: 0.5319 MB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.01145, allocations: 307.7 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.01171, allocations: 273.8 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.01172, allocations: 4 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.01174, allocations: 30.56 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.01174, allocations: 4 kB / 1.009 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0009015/0.01265, allocations: 0.848 MB / 1.01 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.01271, allocations: 136.6 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.01298, allocations: 352.5 kB / 1.01 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.013, allocations: 29.7 kB / 1.01 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.0131, allocations: 172.5 kB / 1.01 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.01313, allocations: 43.64 kB / 1.011 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.01319, allocations: 45.7 kB / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.0133, allocations: 342.8 kB / 1.011 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.01363, allocations: 418.1 kB / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.01394, allocations: 426.9 kB / 1.012 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.01484, allocations: 0.6977 MB / 1.012 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01484, allocations: 4 kB / 1.012 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007436/0.01558, allocations: 0.9245 MB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/0.01567, allocations: 182.2 kB / 1.013 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01568, allocations: 0 / 1.013 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.01569, allocations: 0 / 1.013 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.01578, allocations: 31.97 kB / 1.013 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01579, allocations: 4 kB / 1.013 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.0159, allocations: 51.78 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.01592, allocations: 4 kB / 1.014 GB, free: 15.45 MB / 0.9792 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.0001689/0.01609, allocations: 266.8 kB / 1.014 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.01612, allocations: 31.8 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.01616, allocations: 21.97 kB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.01616, allocations: 11.92 kB / 1.014 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01617, allocations: 4 kB / 1.014 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01617, allocations: 0 / 1.014 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.01638, allocations: 237.1 kB / 1.014 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01638, allocations: 0 / 1.014 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.771e-05/0.01646, allocations: 27.97 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01646, allocations: 0 / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.01648, allocations: 7.984 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01648, allocations: 0 / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01648, allocations: 0 / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.01712, allocations: 0.7123 MB / 1.015 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.01716, allocations: 31.75 kB / 1.015 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.01718, allocations: 4 kB / 1.015 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.01729, allocations: 31.95 kB / 1.015 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.01741, allocations: 31.91 kB / 1.015 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.01743, allocations: 8 kB / 1.015 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001815/0.01761, allocations: 251 kB / 1.015 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.01761, allocations: 0 / 1.015 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002998/0.01791, allocations: 107.8 kB / 1.015 GB, free: 13.57 MB / 0.9792 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.0002587/0.01817, allocations: 167.1 kB / 1.015 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008761/0.01904, allocations: 1.093 MB / 1.016 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01904, allocations: 0 / 1.016 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.0194, allocations: 451.2 kB / 1.017 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.01973, allocations: 76.48 kB / 1.017 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009058/0.02064, allocations: 0.7557 MB / 1.018 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.02078, allocations: 181.8 kB / 1.018 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.02082, allocations: 20.5 kB / 1.018 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of SimCode: time 4.81e-07/0.02082, allocations: 0 / 1.018 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of Templates: time 0.005693/0.02652, allocations: 5.012 MB / 1.023 GB, free: 5.617 MB / 0.9792 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: 7.303608796559274]