Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001476/0.001476, allocations: 80.41 kB / 20.23 MB, free: 4.328 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.001615/0.001615, allocations: 161.6 kB / 23.55 MB, free: 1.016 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.856/2.856, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.25e-05, allocations: 5.688 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003946/0.003978, allocations: 2.048 MB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.006285, allocations: 1.136 MB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.006387, allocations: 1.125 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.006871, allocations: 116.3 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.007011, allocations: 53.67 kB / 0.7897 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.007867, allocations: 268.8 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.008282, allocations: 300.9 kB / 0.7902 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.008454, allocations: 71.44 kB / 0.7903 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.008688, allocations: 155.7 kB / 0.7904 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.008892, allocations: 107.7 kB / 0.7905 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.008949, allocations: 29.34 kB / 0.7906 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004563/0.009406, allocations: 235.7 kB / 0.7908 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.009541, allocations: 91.69 kB / 0.7909 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.009697, allocations: 99.75 kB / 0.791 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008428/0.01054, allocations: 0.6131 MB / 0.7916 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01054, allocations: 0 / 0.7916 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01054, allocations: 0 / 0.7916 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.01055, allocations: 0 / 0.7916 GB, free: 7.484 MB / 0.7448 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.001699/0.01225, allocations: 0.7365 MB / 0.7923 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.01229, allocations: 8.031 kB / 0.7923 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.01243, allocations: 60.64 kB / 0.7924 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.0129, allocations: 266 kB / 0.7926 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.01292, allocations: 12.66 kB / 0.7926 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.01296, allocations: 16.94 kB / 0.7926 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.01373, allocations: 375.6 kB / 0.793 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.01374, allocations: 0.875 kB / 0.793 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.01377, allocations: 8.375 kB / 0.793 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01378, allocations: 8.938 kB / 0.793 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/0.0146, allocations: 359.4 kB / 0.7934 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01566, allocations: 0.5291 MB / 0.7939 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.01635, allocations: 314 kB / 0.7942 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.01689, allocations: 274.8 kB / 0.7944 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.0169, allocations: 2.219 kB / 0.7944 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.01694, allocations: 42.5 kB / 0.7945 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.01694, allocations: 112 / 0.7945 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.001906/0.01885, allocations: 0.8494 MB / 0.7953 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.01901, allocations: 140.5 kB / 0.7954 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.01962, allocations: 352.5 kB / 0.7958 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.01966, allocations: 29.7 kB / 0.7958 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.01985, allocations: 177.8 kB / 0.796 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.01992, allocations: 35.66 kB / 0.796 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.02004, allocations: 49.7 kB / 0.7961 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002411/0.02028, allocations: 347.4 kB / 0.7964 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.02096, allocations: 415.1 kB / 0.7968 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.02162, allocations: 420 kB / 0.7972 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.02279, allocations: 0.6982 MB / 0.7979 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.0228, allocations: 0 / 0.7979 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001814/0.02461, allocations: 0.929 MB / 0.7988 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.02478, allocations: 182.2 kB / 0.7989 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.02479, allocations: 1.219 kB / 0.7989 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.02481, allocations: 4 kB / 0.799 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.025, allocations: 32.75 kB / 0.799 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.02501, allocations: 0 / 0.799 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.02525, allocations: 49.19 kB / 0.799 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.02528, allocations: 4 kB / 0.799 GB, free: 15.28 MB / 0.7605 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.0003164/0.02559, allocations: 258.6 kB / 0.7993 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.02568, allocations: 39.75 kB / 0.7993 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.02574, allocations: 25.95 kB / 0.7993 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.02574, allocations: 0 / 0.7993 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.02575, allocations: 0 / 0.7993 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.02575, allocations: 3.984 kB / 0.7993 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.02612, allocations: 241.1 kB / 0.7996 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.02612, allocations: 3.938 kB / 0.7996 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.0263, allocations: 32.84 kB / 0.7996 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.0263, allocations: 0 / 0.7996 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.02634, allocations: 17 kB / 0.7996 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.02634, allocations: 0 / 0.7996 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02635, allocations: 0 / 0.7996 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.02767, allocations: 0.7105 MB / 0.8003 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.02773, allocations: 36.7 kB / 0.8004 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.02778, allocations: 7.938 kB / 0.8004 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.02802, allocations: 29.06 kB / 0.8004 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.02816, allocations: 31.95 kB / 0.8004 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.02818, allocations: 5.375 kB / 0.8004 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000336/0.02851, allocations: 251 kB / 0.8007 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02851, allocations: 0 / 0.8007 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005038/0.02902, allocations: 111.8 kB / 0.8008 GB, free: 13.4 MB / 0.7605 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.0004001/0.02942, allocations: 168.3 kB / 0.8009 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.03109, allocations: 1.089 MB / 0.802 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.03109, allocations: 3.938 kB / 0.802 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.03179, allocations: 455.1 kB / 0.8024 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.0324, allocations: 76.55 kB / 0.8025 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.03374, allocations: 0.7289 MB / 0.8032 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.03397, allocations: 181.8 kB / 0.8034 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.555e-05/0.03406, allocations: 17.64 kB / 0.8034 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.03412, allocations: 20.48 kB / 0.8034 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.03412, allocations: 0 / 0.8034 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of Templates: time 0.01363/0.04775, allocations: 6.277 MB / 0.8096 GB, free: 4.266 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.439722467097454]