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.001052/0.001052, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001761/0.001761, allocations: 169 kB / 23.02 MB, free: 1.551 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.942/0.942, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 2.025/2.025, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.609e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002977/0.003013, allocations: 2.134 MB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.004818, allocations: 1.18 MB / 0.8814 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.004922, allocations: 4 kB / 0.8814 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.005335, allocations: 105 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.005427, allocations: 53.66 kB / 0.8816 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.006073, allocations: 265.4 kB / 0.8818 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.006352, allocations: 307.2 kB / 0.8821 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.006503, allocations: 64.27 kB / 0.8822 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.006657, allocations: 159.7 kB / 0.8823 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.006784, allocations: 99.25 kB / 0.8824 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.006818, allocations: 32 kB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.007104, allocations: 243.6 kB / 0.8827 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.007192, allocations: 99.67 kB / 0.8828 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/0.007275, allocations: 91.77 kB / 0.8829 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.00772, allocations: 446.6 kB / 0.8833 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.007725, allocations: 0 / 0.8833 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.007726, allocations: 0 / 0.8833 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.007732, allocations: 0 / 0.8833 GB, free: 1.035 MB / 0.8386 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.0007403/0.008472, allocations: 0.8341 MB / 0.8841 GB, free: 128 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.00851, allocations: 9.562 kB / 0.8841 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.008583, allocations: 44.75 kB / 0.8842 GB, free: 76 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.008866, allocations: 252.9 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.008883, allocations: 12.66 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.008907, allocations: 20.38 kB / 0.8845 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.009264, allocations: 336.8 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.009274, allocations: 0 / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.009292, allocations: 8 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.0093, allocations: 3.984 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.009494, allocations: 243.1 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.01014, allocations: 0.5818 MB / 0.8856 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.01044, allocations: 256.3 kB / 0.8858 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.0106, allocations: 220.7 kB / 0.886 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.01061, allocations: 4 kB / 0.886 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.01063, allocations: 37.39 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.01063, allocations: 0 / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0005957/0.01123, allocations: 0.6867 MB / 0.8868 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.01128, allocations: 140.5 kB / 0.8869 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.01152, allocations: 362.3 kB / 0.8872 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01154, allocations: 25.7 kB / 0.8873 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.01164, allocations: 223.3 kB / 0.8875 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.01167, allocations: 55.53 kB / 0.8875 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.01173, allocations: 51.36 kB / 0.8876 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002819/0.01202, allocations: 0.5196 MB / 0.8881 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.01222, allocations: 318.1 kB / 0.8884 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.0124, allocations: 322.1 kB / 0.8887 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.01273, allocations: 0.5591 MB / 0.8892 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01273, allocations: 0 / 0.8892 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004688/0.0132, allocations: 0.729 MB / 0.8899 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/0.01328, allocations: 182.2 kB / 0.8901 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01329, allocations: 112 / 0.8901 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.0133, allocations: 7.938 kB / 0.8901 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.01337, allocations: 19.98 kB / 0.8901 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.01338, allocations: 4 kB / 0.8902 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.01346, allocations: 31.83 kB / 0.8902 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.01347, allocations: 12 kB / 0.8902 GB, free: 9.363 MB / 0.8542 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.0001389/0.01361, allocations: 261.5 kB / 0.8904 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.01365, allocations: 31.86 kB / 0.8905 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.01369, allocations: 25.95 kB / 0.8905 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01369, allocations: 0 / 0.8905 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.0137, allocations: 4 kB / 0.8905 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.0137, allocations: 0 / 0.8905 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.01391, allocations: 268.4 kB / 0.8908 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01392, allocations: 0 / 0.8908 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.01397, allocations: 19.98 kB / 0.8908 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01397, allocations: 0 / 0.8908 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01398, allocations: 8 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01398, allocations: 0 / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01399, allocations: 0 / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.01443, allocations: 0.654 MB / 0.8914 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.01446, allocations: 35.78 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.01449, allocations: 4 kB / 0.8915 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.01457, allocations: 19.98 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.01468, allocations: 27.97 kB / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.01469, allocations: 4 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001506/0.01484, allocations: 239 kB / 0.8917 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01484, allocations: 0 / 0.8917 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003278/0.01516, allocations: 107.8 kB / 0.8918 GB, free: 7.555 MB / 0.8542 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.0002527/0.01542, allocations: 171 kB / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005645/0.01598, allocations: 0.9177 MB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01598, allocations: 0 / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.01622, allocations: 418.7 kB / 0.8933 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.01655, allocations: 86.3 kB / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.01757, allocations: 0.6643 MB / 0.894 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.01765, allocations: 103.9 kB / 0.8941 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.155e-05/0.01771, allocations: 17.64 kB / 0.8941 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.01776, allocations: 24.5 kB / 0.8942 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/0.01776, allocations: 0 / 0.8942 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of Templates: time 0.008275/0.02604, allocations: 6.366 MB / 0.9004 GB, free: 14.68 MB / 0.8698 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.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.809305690228939]