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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_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.004577/0.004577, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001076/0.001076, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.583/2.583, allocations: 469.4 MB / 0.7422 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.264, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003242/0.2673, allocations: 2.101 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.2691, allocations: 1.172 MB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2693, allocations: 3.938 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.2697, allocations: 119.3 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.2699, allocations: 47.59 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.2706, allocations: 254.3 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.271, allocations: 319.2 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2712, allocations: 95.03 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2713, allocations: 111.6 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.2715, allocations: 131.4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.2716, allocations: 28 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.2721, allocations: 231.7 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.2723, allocations: 83.73 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.2725, allocations: 155.2 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009013/0.2734, allocations: 0.5566 MB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2734, allocations: 0 / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2734, allocations: 0 / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.2735, allocations: 0 / 1.225 GB, free: 9.207 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.001675/0.2751, allocations: 0.8161 MB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2752, allocations: 12.03 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.371e-05/0.2753, allocations: 54.67 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.2754, allocations: 36.7 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.276, allocations: 324.6 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.276, allocations: 12.66 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.2761, allocations: 24.38 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009225/0.277, allocations: 295 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.277, allocations: 4 kB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.2771, allocations: 8 kB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2771, allocations: 4 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.2781, allocations: 268.4 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.2793, allocations: 0.6686 MB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.2801, allocations: 234.6 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.2806, allocations: 188.7 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2807, allocations: 0 / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2807, allocations: 34.56 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.2807, allocations: 0 / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001335/0.282, allocations: 0.6741 MB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.2821, allocations: 136.5 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.2826, allocations: 380.5 kB / 1.229 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.2826, allocations: 33.7 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.2828, allocations: 164.4 kB / 1.229 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.2829, allocations: 51.52 kB / 1.229 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.283, allocations: 49.7 kB / 1.229 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2832, allocations: 342.8 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.2839, allocations: 243.8 kB / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006766/0.2846, allocations: 237.9 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.286, allocations: 0.6786 MB / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.286, allocations: 0 / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0017/0.2877, allocations: 0.7415 MB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.2879, allocations: 182.2 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2879, allocations: 3.984 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2879, allocations: 0 / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2881, allocations: 31.91 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2882, allocations: 4 kB / 1.232 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.2885, allocations: 39.81 kB / 1.232 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.2886, allocations: 12 kB / 1.232 GB, free: 1.855 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.0003541/0.2889, allocations: 266.8 kB / 1.232 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.289, allocations: 27.81 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.2891, allocations: 30.94 kB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2891, allocations: 4 kB / 1.232 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2891, allocations: 0 / 1.232 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2891, allocations: 0 / 1.232 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.2896, allocations: 353.2 kB / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2896, allocations: 0 / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.2899, allocations: 31.91 kB / 1.232 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2899, allocations: 0 / 1.232 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.2899, allocations: 8 kB / 1.232 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2899, allocations: 3.938 kB / 1.232 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.29, allocations: 0 / 1.232 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.2914, allocations: 0.6204 MB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2916, allocations: 112.9 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.2917, allocations: 8 kB / 1.233 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.2921, allocations: 31.97 kB / 1.233 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2922, allocations: 23.97 kB / 1.233 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.2922, allocations: 11.98 kB / 1.233 GB, free: 212 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004469/0.2927, allocations: 271 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2927, allocations: 4 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007007/0.2934, allocations: 103.8 kB / 1.234 GB, free: 15.84 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.002099/0.2955, allocations: 1.221 MB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.2973, allocations: 0.8437 MB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2973, allocations: 0 / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007848/0.2981, allocations: 378.1 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.2987, allocations: 69.12 kB / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.3054, allocations: 4.43 MB / 1.24 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.3059, allocations: 0.787 MB / 1.241 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.811e-05/0.306, allocations: 21.95 kB / 1.241 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3062, allocations: 93.94 kB / 1.241 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of SimCode: time 2.244e-06/0.3062, allocations: 0 / 1.241 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5202/0.8264, allocations: 8.72 MB / 1.25 GB, free: 30.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.392, allocations: 19.52 kB / 1.25 GB, free: 30.87 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/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