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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008382/0.008382, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002285/0.002285, allocations: 197.5 kB / 16.68 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 469.8 MB / 0.7426 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 63.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2938, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003421/0.2973, allocations: 2.108 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2992, allocations: 1.176 MB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.2993, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.2997, allocations: 115.4 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2998, allocations: 47.58 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.3005, allocations: 259 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.3009, allocations: 327.2 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.3011, allocations: 91.05 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3012, allocations: 103.7 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3014, allocations: 127.5 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.3015, allocations: 36 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.3018, allocations: 223.7 kB / 1.225 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.302, allocations: 99.66 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3021, allocations: 151.2 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006484/0.3028, allocations: 0.5605 MB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3028, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3028, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.3028, allocations: 0 / 1.225 GB, free: 8.844 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.001191/0.304, allocations: 0.8161 MB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.304, allocations: 8.031 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.3041, allocations: 50.73 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.3042, allocations: 40.7 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3046, allocations: 312.6 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3046, allocations: 20.64 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.3047, allocations: 16.38 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.3053, allocations: 299 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3053, allocations: 3.984 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3053, allocations: 8 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3053, allocations: 4 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.306, allocations: 268.3 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009699/0.307, allocations: 0.6648 MB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.3076, allocations: 234.6 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.308, allocations: 188.7 kB / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.308, allocations: 3.938 kB / 1.228 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.308, allocations: 38.56 kB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.308, allocations: 4 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.00139/0.3094, allocations: 0.6663 MB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.3095, allocations: 140.5 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.31, allocations: 384.5 kB / 1.229 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.31, allocations: 29.7 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3101, allocations: 164.4 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.3102, allocations: 51.58 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.3103, allocations: 45.7 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3105, allocations: 342.8 kB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.3109, allocations: 239.8 kB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.3114, allocations: 246.3 kB / 1.231 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3124, allocations: 0.6737 MB / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3124, allocations: 0 / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001158/0.3136, allocations: 0.7414 MB / 1.232 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.3137, allocations: 182.2 kB / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3137, allocations: 0 / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3138, allocations: 4 kB / 1.232 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3139, allocations: 27.97 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3139, allocations: 0 / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3142, allocations: 43.81 kB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3142, allocations: 8 kB / 1.232 GB, free: 1.512 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.0002438/0.3144, allocations: 263.3 kB / 1.232 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.3145, allocations: 35.81 kB / 1.232 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.3146, allocations: 30.94 kB / 1.232 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3146, allocations: 4 kB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3146, allocations: 3.984 kB / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3146, allocations: 0 / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.315, allocations: 353.2 kB / 1.233 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.315, allocations: 4 kB / 1.233 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.3151, allocations: 23.97 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.3152, allocations: 4 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3152, allocations: 11.94 kB / 1.233 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3152, allocations: 0 / 1.233 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3152, allocations: 0 / 1.233 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.3162, allocations: 0.6252 MB / 1.233 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3163, allocations: 108.9 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.3164, allocations: 8 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.3166, allocations: 27.95 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3167, allocations: 23.97 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3168, allocations: 8 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002947/0.3171, allocations: 275 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3171, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004049/0.3175, allocations: 115.8 kB / 1.234 GB, free: 15.48 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.001539/0.319, allocations: 1.221 MB / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.3203, allocations: 0.8399 MB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3203, allocations: 0 / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.3208, allocations: 378 kB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3213, allocations: 70.33 kB / 1.236 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/0.3273, allocations: 4.428 MB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.3277, allocations: 0.7831 MB / 1.242 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.575e-05/0.3278, allocations: 25.94 kB / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.328, allocations: 95.34 kB / 1.242 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.328, allocations: 0 / 1.242 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5336/0.8616, allocations: 8.706 MB / 1.25 GB, free: 30.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/9.057, allocations: 12.97 kB / 1.25 GB, free: 30.68 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches