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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00804/0.00804, allocations: 101 kB / 15.73 MB, free: 6.043 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.001888/0.001888, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.267, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003232/0.2703, allocations: 2.107 MB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2724, allocations: 1.168 MB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.2726, allocations: 4 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.273, allocations: 111.3 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.2731, allocations: 51.58 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.2739, allocations: 255.5 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.2743, allocations: 323.2 kB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2745, allocations: 102.9 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.2747, allocations: 107.6 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2748, allocations: 127.5 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.2749, allocations: 28 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.2753, allocations: 235.7 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2754, allocations: 87.75 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2755, allocations: 147.2 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.2762, allocations: 0.5569 MB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2762, allocations: 0 / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2762, allocations: 0 / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.2762, allocations: 0 / 1.213 GB, free: 4.223 MB / 0.9669 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.001186/0.2774, allocations: 0.8048 MB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2774, allocations: 8.625 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.2775, allocations: 44.47 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.2779, allocations: 316.4 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2779, allocations: 12.66 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.278, allocations: 20.31 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.2786, allocations: 295.2 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2786, allocations: 0 / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.2786, allocations: 4 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2786, allocations: 8 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006164/0.2792, allocations: 272.4 kB / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.2802, allocations: 0.6646 MB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.2807, allocations: 222.6 kB / 1.216 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.2811, allocations: 196.7 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.2811, allocations: 3.938 kB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2811, allocations: 30.56 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.2812, allocations: 0 / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.001271/0.2824, allocations: 0.6719 MB / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.2825, allocations: 148.4 kB / 1.217 GB, free: 288 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.283, allocations: 380.4 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.283, allocations: 29.7 kB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2831, allocations: 168.3 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.2832, allocations: 43.45 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.2833, allocations: 45.7 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2834, allocations: 346.7 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.2838, allocations: 235.9 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.2842, allocations: 243.8 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008602/0.2851, allocations: 0.6763 MB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2851, allocations: 0 / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001028/0.2861, allocations: 0.7314 MB / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-05/0.2863, allocations: 183.9 kB / 1.22 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2863, allocations: 7.938 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2863, allocations: 3.984 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2865, allocations: 27.97 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2865, allocations: 3.938 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2867, allocations: 55.64 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.2867, allocations: 8 kB / 1.22 GB, free: 12.96 MB / 0.9825 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.0001951/0.2869, allocations: 254.9 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.287, allocations: 27.72 kB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.287, allocations: 26.94 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2871, allocations: 4 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2871, allocations: 0 / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2871, allocations: 7.984 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.2874, allocations: 345.2 kB / 1.22 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2874, allocations: 0 / 1.22 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.2876, allocations: 31.97 kB / 1.22 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2876, allocations: 0 / 1.22 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.2876, allocations: 11.98 kB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2876, allocations: 4 kB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2876, allocations: 3.938 kB / 1.22 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.2886, allocations: 0.621 MB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.2886, allocations: 116.7 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.2887, allocations: 4 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2889, allocations: 35.97 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.289, allocations: 23.97 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.289, allocations: 4 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002636/0.2893, allocations: 271 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2893, allocations: 0 / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004058/0.2897, allocations: 99.98 kB / 1.221 GB, free: 10.96 MB / 0.9825 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.0002952/0.29, allocations: 163.1 kB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.2912, allocations: 0.8329 MB / 1.222 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2912, allocations: 0 / 1.222 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.2917, allocations: 374 kB / 1.223 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.2921, allocations: 73.72 kB / 1.223 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009552/0.2931, allocations: 0.6551 MB / 1.224 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.2934, allocations: 0.787 MB / 1.224 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.542e-05/0.2935, allocations: 21.95 kB / 1.224 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.2936, allocations: 19.44 kB / 1.224 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.2936, allocations: 0 / 1.224 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of Templates: time 0.01026/0.3038, allocations: 5.985 MB / 1.23 GB, free: 1.988 MB / 0.9825 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