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.002432/0.002432, allocations: 93.06 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.00298/0.00298, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.123/1.123, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.078/2.078, allocations: 429.5 MB / 0.6733 GB, free: 4.004 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.283e-06/1.283e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.571e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002866/0.002892, allocations: 2.13 MB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.004505, allocations: 1.17 MB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.004644, allocations: 4.656 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.0051, allocations: 105 kB / 0.8815 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.005212, allocations: 61.61 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.005937, allocations: 261.7 kB / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.00626, allocations: 307.2 kB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.0064, allocations: 63.52 kB / 0.8822 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.006552, allocations: 156.8 kB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.0067, allocations: 103.7 kB / 0.8824 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.006738, allocations: 35.19 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.007057, allocations: 235.6 kB / 0.8827 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.772e-05/0.007155, allocations: 99.67 kB / 0.8828 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.007245, allocations: 91.77 kB / 0.8829 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.007729, allocations: 442.7 kB / 0.8833 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.007733, allocations: 0 / 0.8833 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/0.007735, allocations: 0 / 0.8833 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.007743, allocations: 0 / 0.8833 GB, free: 1.027 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.0008284/0.008572, allocations: 0.838 MB / 0.8841 GB, free: 116 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.008612, allocations: 12.03 kB / 0.8841 GB, free: 104 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.878e-05/0.008701, allocations: 46.31 kB / 0.8842 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.008983, allocations: 244.6 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.008999, allocations: 12.66 kB / 0.8844 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.009023, allocations: 20.38 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.009396, allocations: 330 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.009405, allocations: 0 / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.009424, allocations: 9.594 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.009433, allocations: 4 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.00964, allocations: 239.1 kB / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.01051, allocations: 0.5858 MB / 0.8856 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.01083, allocations: 256.2 kB / 0.8858 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.01098, allocations: 220.7 kB / 0.886 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.01099, allocations: 112 / 0.886 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.01102, allocations: 41.33 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.01102, allocations: 0 / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0005993/0.01162, allocations: 0.6842 MB / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.01168, allocations: 140.5 kB / 0.8869 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.01192, allocations: 362.3 kB / 0.8872 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.01194, allocations: 29.7 kB / 0.8872 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01205, allocations: 223.3 kB / 0.8875 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.01208, allocations: 55.45 kB / 0.8875 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.01215, allocations: 55.36 kB / 0.8876 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.01229, allocations: 0.5196 MB / 0.8881 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.0125, allocations: 318.1 kB / 0.8884 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.0127, allocations: 325.4 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.01307, allocations: 0.5488 MB / 0.8892 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01307, allocations: 4 kB / 0.8892 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004964/0.01357, allocations: 0.7282 MB / 0.8899 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.193e-05/0.01366, allocations: 190.2 kB / 0.8901 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01366, allocations: 0 / 0.8901 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01368, allocations: 0 / 0.8901 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.01377, allocations: 23.92 kB / 0.8901 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01377, allocations: 3.984 kB / 0.8901 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.01385, allocations: 31.83 kB / 0.8902 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.01387, allocations: 11.98 kB / 0.8902 GB, free: 9.359 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.0001353/0.01401, allocations: 257.6 kB / 0.8904 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.01405, allocations: 39.86 kB / 0.8905 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.01408, allocations: 21.95 kB / 0.8905 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01409, allocations: 4 kB / 0.8905 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.01409, allocations: 3.938 kB / 0.8905 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01409, allocations: 0 / 0.8905 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.01432, allocations: 268.4 kB / 0.8908 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01432, allocations: 0 / 0.8908 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.01439, allocations: 23.92 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01439, allocations: 0 / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01441, allocations: 8 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01441, allocations: 4 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01441, allocations: 4 kB / 0.8908 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.01487, allocations: 0.6463 MB / 0.8914 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.0149, allocations: 31.78 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.01493, allocations: 4 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.01501, allocations: 19.98 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.01512, allocations: 27.97 kB / 0.8915 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01513, allocations: 8 kB / 0.8915 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001445/0.01528, allocations: 235 kB / 0.8917 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01528, allocations: 0 / 0.8917 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003136/0.01559, allocations: 111.8 kB / 0.8918 GB, free: 7.543 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.0002613/0.01585, allocations: 171.1 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007492/0.0166, allocations: 0.9191 MB / 0.8929 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.0166, allocations: 0 / 0.8929 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.01684, allocations: 402.9 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.0003249/0.01716, allocations: 84.44 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.001022/0.01818, allocations: 0.6684 MB / 0.894 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.01825, allocations: 111.9 kB / 0.8941 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.762e-05/0.01832, allocations: 17.62 kB / 0.8941 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.01836, allocations: 20.5 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.01836, allocations: 0 / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of Templates: time 0.009238/0.0276, allocations: 6.845 MB / 0.9009 GB, free: 14.19 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.814688738901168]