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.001368/0.001368, allocations: 69.89 kB / 20.65 MB, free: 3.84 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.001393/0.001393, allocations: 169 kB / 24.05 MB, free: 448 kB / 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.9269/0.9269, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.021/2.021, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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 1.513e-06/1.513e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.791e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002362/0.00238, allocations: 2.112 MB / 0.8815 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003734, allocations: 1.168 MB / 0.8826 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.003822, allocations: 4 kB / 0.8826 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.004171, allocations: 113.2 kB / 0.8827 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.00425, allocations: 50.19 kB / 0.8828 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.00477, allocations: 260.1 kB / 0.883 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000257/0.005027, allocations: 308.8 kB / 0.8833 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.005142, allocations: 67.5 kB / 0.8834 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.005264, allocations: 155.7 kB / 0.8836 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.005383, allocations: 99.73 kB / 0.8836 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.005412, allocations: 28.5 kB / 0.8837 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.005681, allocations: 244.9 kB / 0.8839 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.005763, allocations: 95.73 kB / 0.884 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.005837, allocations: 99.75 kB / 0.8841 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.006227, allocations: 438.6 kB / 0.8845 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.006228, allocations: 5.594 kB / 0.8845 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.02e-07/0.006229, allocations: 0 / 0.8845 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.006234, allocations: 0 / 0.8845 GB, free: 0.8281 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.0006675/0.006901, allocations: 0.833 MB / 0.8853 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.006936, allocations: 12.03 kB / 0.8853 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.006999, allocations: 48.75 kB / 0.8854 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.007215, allocations: 228.6 kB / 0.8856 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.00723, allocations: 12.66 kB / 0.8856 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.00725, allocations: 16.38 kB / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.007532, allocations: 291 kB / 0.8859 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00754, allocations: 0 / 0.8859 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.007554, allocations: 8 kB / 0.8859 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.00756, allocations: 4 kB / 0.8859 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.007687, allocations: 178.2 kB / 0.8861 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.008174, allocations: 0.5083 MB / 0.8866 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.008375, allocations: 212.2 kB / 0.8868 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.008479, allocations: 168.7 kB / 0.887 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.008489, allocations: 4 kB / 0.887 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.00851, allocations: 41.39 kB / 0.887 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.008511, allocations: 0 / 0.887 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0004138/0.008925, allocations: 0.5399 MB / 0.8875 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.008991, allocations: 144.4 kB / 0.8877 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.009222, allocations: 354.1 kB / 0.888 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.009238, allocations: 29.7 kB / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.009334, allocations: 227.2 kB / 0.8882 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.009368, allocations: 51.53 kB / 0.8883 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.009428, allocations: 55.34 kB / 0.8883 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.009617, allocations: 0.5235 MB / 0.8889 GB, free: 12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.009746, allocations: 246.2 kB / 0.8891 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.009868, allocations: 258.2 kB / 0.8893 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.0101, allocations: 438 kB / 0.8898 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.0101, allocations: 0 / 0.8898 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003545/0.01045, allocations: 0.6032 MB / 0.8903 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.01062, allocations: 182.1 kB / 0.8905 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01062, allocations: 0 / 0.8905 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.01063, allocations: 0 / 0.8905 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.01069, allocations: 19.98 kB / 0.8905 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.0107, allocations: 4 kB / 0.8905 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.01077, allocations: 35.83 kB / 0.8906 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01079, allocations: 8 kB / 0.8906 GB, free: 9.988 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.0001136/0.0109, allocations: 253.7 kB / 0.8908 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.01094, allocations: 35.8 kB / 0.8909 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.01097, allocations: 29.94 kB / 0.8909 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01097, allocations: 0 / 0.8909 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01097, allocations: 0 / 0.8909 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01097, allocations: 0 / 0.8909 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.01114, allocations: 221 kB / 0.8911 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01114, allocations: 0 / 0.8911 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.01119, allocations: 27.98 kB / 0.8911 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01119, allocations: 3.938 kB / 0.8911 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.01121, allocations: 4 kB / 0.8911 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01121, allocations: 0 / 0.8911 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01121, allocations: 0 / 0.8911 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.01153, allocations: 0.5526 MB / 0.8917 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.01156, allocations: 27.8 kB / 0.8917 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01159, allocations: 15.92 kB / 0.8917 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.01166, allocations: 15.98 kB / 0.8917 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.01173, allocations: 35.84 kB / 0.8918 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01174, allocations: 8 kB / 0.8918 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001022/0.01184, allocations: 230.9 kB / 0.892 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01184, allocations: 0 / 0.892 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002472/0.01209, allocations: 103.8 kB / 0.8921 GB, free: 8.332 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.0001875/0.01228, allocations: 167.1 kB / 0.8922 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.01268, allocations: 0.8088 MB / 0.893 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01269, allocations: 0 / 0.893 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.01285, allocations: 347 kB / 0.8934 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01312, allocations: 76.94 kB / 0.8934 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.01398, allocations: 0.6371 MB / 0.8941 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.767e-05/0.01403, allocations: 104 kB / 0.8942 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.988e-05/0.01408, allocations: 17.62 kB / 0.8942 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.01426, allocations: 158.1 kB / 0.8943 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.01426, allocations: 0 / 0.8943 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of Templates: time 0.007957/0.02222, allocations: 7.081 MB / 0.9012 GB, free: 14.84 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.300586299970746]