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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007167/0.007167, allocations: 96.39 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 191.5 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7453 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 55.91 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2716, allocations: 159.9 MB / 1.226 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003203/0.2749, allocations: 2.101 MB / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.2767, allocations: 1.188 MB / 1.229 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2769, allocations: 4 kB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.2773, allocations: 115.3 kB / 1.229 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2774, allocations: 47.58 kB / 1.229 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.2781, allocations: 262.3 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.2785, allocations: 315.2 kB / 1.23 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2787, allocations: 99.03 kB / 1.23 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.2788, allocations: 111.6 kB / 1.23 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.279, allocations: 127.5 kB / 1.23 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.2791, allocations: 32 kB / 1.23 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.2794, allocations: 219.7 kB / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2795, allocations: 95.72 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.2797, allocations: 147.2 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.2803, allocations: 0.5566 MB / 1.231 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2804, allocations: 7.984 kB / 1.231 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2804, allocations: 4 kB / 1.231 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.2804, allocations: 0 / 1.231 GB, free: 3.797 MB / 0.9825 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.001127/0.2815, allocations: 0.8122 MB / 1.232 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2816, allocations: 12.03 kB / 1.232 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.2816, allocations: 36.7 kB / 1.232 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.282, allocations: 320.6 kB / 1.232 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.282, allocations: 12.66 kB / 1.232 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.2821, allocations: 20.36 kB / 1.232 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.2827, allocations: 295.2 kB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2827, allocations: 0 / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.2827, allocations: 11.98 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2827, allocations: 4 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.2834, allocations: 268.3 kB / 1.233 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009221/0.2843, allocations: 0.6725 MB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.2848, allocations: 230.6 kB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.2852, allocations: 192.7 kB / 1.234 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2853, allocations: 0 / 1.234 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2853, allocations: 42.5 kB / 1.234 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.2853, allocations: 0 / 1.234 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001291/0.2866, allocations: 0.6702 MB / 1.234 GB, free: 0 / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.2867, allocations: 132.5 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.2871, allocations: 388.4 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.2871, allocations: 29.7 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2872, allocations: 164.4 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.2873, allocations: 51.58 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.2874, allocations: 49.7 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2875, allocations: 342.8 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.288, allocations: 235.8 kB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.2884, allocations: 243.8 kB / 1.236 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009216/0.2894, allocations: 0.6782 MB / 1.237 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2894, allocations: 0 / 1.237 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001076/0.2905, allocations: 0.7376 MB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.2906, allocations: 182.2 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2906, allocations: 0 / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2906, allocations: 0 / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.2908, allocations: 31.97 kB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2908, allocations: 0 / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.291, allocations: 43.81 kB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2911, allocations: 11.94 kB / 1.238 GB, free: 12.52 MB / 0.9981 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.0002107/0.2913, allocations: 259.4 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.2914, allocations: 31.81 kB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.2914, allocations: 30.94 kB / 1.238 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2914, allocations: 4 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2914, allocations: 0 / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2914, allocations: 0 / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.2918, allocations: 357.2 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2918, allocations: 4 kB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.292, allocations: 27.97 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.292, allocations: 0 / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.292, allocations: 7.938 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.292, allocations: 0 / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.292, allocations: 0 / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009679/0.293, allocations: 0.6281 MB / 1.239 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.2931, allocations: 112.9 kB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.2931, allocations: 8 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.2934, allocations: 27.95 kB / 1.239 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2935, allocations: 23.97 kB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.2935, allocations: 16 kB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002751/0.2938, allocations: 267 kB / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2938, allocations: 0 / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004118/0.2942, allocations: 111.8 kB / 1.239 GB, free: 10.5 MB / 0.9981 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.0002946/0.2945, allocations: 160.8 kB / 1.24 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.2957, allocations: 0.836 MB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2957, allocations: 3.938 kB / 1.24 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.2962, allocations: 382 kB / 1.241 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.2967, allocations: 73.33 kB / 1.241 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2977, allocations: 0.643 MB / 1.241 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.2981, allocations: 0.7831 MB / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.764e-05/0.2982, allocations: 29.94 kB / 1.242 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.2982, allocations: 19.44 kB / 1.242 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.2982, allocations: 0 / 1.242 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of Templates: time 0.01046/0.3087, allocations: 5.99 MB / 1.248 GB, free: 1.52 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) 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) Reference file matches