Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.004322/0.004322, allocations: 103.5 kB / 15.74 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.001216/0.001216, allocations: 200.2 kB / 16.68 MB, free: 5.965 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.884/2.884, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2937, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01675/0.3105, allocations: 14.79 MB / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004823/0.3153, allocations: 3.732 MB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.3156, allocations: 15.88 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.3161, allocations: 166.7 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008378/0.317, allocations: 402 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.3178, allocations: 342.3 kB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008773/0.3187, allocations: 0.7725 MB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.3192, allocations: 292.6 kB / 1.24 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006666/0.3198, allocations: 378.4 kB / 1.241 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.3201, allocations: 227 kB / 1.241 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.3202, allocations: 20 kB / 1.241 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.3207, allocations: 231.5 kB / 1.241 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3208, allocations: 75.75 kB / 1.241 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.3209, allocations: 135.3 kB / 1.241 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.3215, allocations: 434.3 kB / 1.242 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3215, allocations: 0 / 1.242 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3216, allocations: 0 / 1.242 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3216, allocations: 0 / 1.242 GB, free: 8.309 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000895/0.3225, allocations: 0.6153 MB / 1.242 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3225, allocations: 12.03 kB / 1.242 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.3226, allocations: 50.73 kB / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.3227, allocations: 40.73 kB / 1.242 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.3231, allocations: 331.2 kB / 1.243 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3232, allocations: 16.81 kB / 1.243 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.3232, allocations: 24.38 kB / 1.243 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.3238, allocations: 265.2 kB / 1.243 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3238, allocations: 3.984 kB / 1.243 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.3238, allocations: 12 kB / 1.243 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3238, allocations: 4 kB / 1.243 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.3243, allocations: 176.5 kB / 1.243 GB, free: 6.672 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3256, allocations: 0.8392 MB / 1.244 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.3259, allocations: 141.1 kB / 1.244 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.3262, allocations: 85.66 kB / 1.244 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.3266, allocations: 0.4908 MB / 1.245 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3267, allocations: 38.5 kB / 1.245 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.3267, allocations: 4 kB / 1.245 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0008186/0.3275, allocations: 257.5 kB / 1.245 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.3276, allocations: 81.27 kB / 1.245 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.3279, allocations: 263 kB / 1.245 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3279, allocations: 37.7 kB / 1.245 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.328, allocations: 168.4 kB / 1.245 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.3281, allocations: 47.58 kB / 1.245 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.3282, allocations: 29.72 kB / 1.245 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3283, allocations: 334.8 kB / 1.246 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3285, allocations: 59.94 kB / 1.246 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.3288, allocations: 130 kB / 1.246 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.3293, allocations: 172.4 kB / 1.246 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3293, allocations: 3.938 kB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005531/0.3299, allocations: 217.2 kB / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3299, allocations: 12.09 kB / 1.246 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3299, allocations: 3.984 kB / 1.246 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3299, allocations: 4 kB / 1.246 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.3302, allocations: 51.88 kB / 1.246 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3302, allocations: 4 kB / 1.246 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3304, allocations: 27.88 kB / 1.246 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.3305, allocations: 11.98 kB / 1.246 GB, free: 2.891 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.000146/0.3306, allocations: 153.8 kB / 1.247 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.3307, allocations: 23.86 kB / 1.247 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.331, allocations: 183.3 kB / 1.247 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.331, allocations: 3.984 kB / 1.247 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.331, allocations: 3.938 kB / 1.247 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3311, allocations: 4 kB / 1.247 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.3319, allocations: 0.5952 MB / 1.247 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3319, allocations: 4 kB / 1.247 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.3322, allocations: 51.88 kB / 1.247 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3322, allocations: 4 kB / 1.247 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3322, allocations: 4 kB / 1.247 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3322, allocations: 4.125 kB / 1.247 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3322, allocations: 4 kB / 1.247 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.3329, allocations: 444 kB / 1.248 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.333, allocations: 120.9 kB / 1.248 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.3331, allocations: 4 kB / 1.248 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3333, allocations: 19.97 kB / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.3334, allocations: 19.92 kB / 1.248 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3334, allocations: 12.12 kB / 1.248 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001949/0.3336, allocations: 190 kB / 1.248 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3336, allocations: 0 / 1.248 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004282/0.334, allocations: 95.75 kB / 1.248 GB, free: 0.8477 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.5285/0.8625, allocations: 1.065 MB / 1.249 GB, free: 31.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.8632, allocations: 174.9 kB / 1.25 GB, free: 31.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8632, allocations: 1.594 kB / 1.25 GB, free: 31.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.8635, allocations: 106.7 kB / 1.25 GB, free: 31.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.8643, allocations: 114.4 kB / 1.25 GB, free: 31.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.8674, allocations: 2.65 MB / 1.252 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.8676, allocations: 0.7723 MB / 1.253 GB, free: 29.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.8678, allocations: 57.42 kB / 1.253 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.8679, allocations: 87.97 kB / 1.253 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.8679, allocations: 1.375 kB / 1.253 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.8981, allocations: 8.128 MB / 1.261 GB, free: 28.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/9.295, allocations: 9 kB / 1.261 GB, free: 28.22 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches