Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_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.008447/0.008447, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001926/0.001926, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.761/2.761, allocations: 469.4 MB / 0.7421 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.12 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2674, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01552/0.2829, allocations: 14.79 MB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004618/0.2876, allocations: 3.736 MB / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.2881, allocations: 15.88 kB / 1.238 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.2886, allocations: 174.7 kB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.2896, allocations: 426 kB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008913/0.2905, allocations: 322.8 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008749/0.2914, allocations: 0.7764 MB / 1.239 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.2919, allocations: 296.5 kB / 1.24 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007336/0.2926, allocations: 382.4 kB / 1.24 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.293, allocations: 222.9 kB / 1.24 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.293, allocations: 24 kB / 1.24 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.2935, allocations: 231.5 kB / 1.241 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.2936, allocations: 71.75 kB / 1.241 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.2938, allocations: 139.3 kB / 1.241 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.2944, allocations: 438.3 kB / 1.241 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2944, allocations: 0 / 1.241 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2944, allocations: 0 / 1.241 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2944, allocations: 0 / 1.241 GB, free: 8.625 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.0008626/0.2953, allocations: 0.6129 MB / 1.242 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2953, allocations: 8.031 kB / 1.242 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.2954, allocations: 62.73 kB / 1.242 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.2955, allocations: 32.75 kB / 1.242 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.296, allocations: 331.2 kB / 1.242 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.296, allocations: 16.81 kB / 1.242 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.296, allocations: 24.38 kB / 1.242 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.2966, allocations: 265.2 kB / 1.242 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2966, allocations: 0 / 1.242 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.2967, allocations: 12 kB / 1.243 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2967, allocations: 4 kB / 1.243 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.2972, allocations: 180.6 kB / 1.243 GB, free: 6.992 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.001216/0.2984, allocations: 0.8314 MB / 1.243 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.2987, allocations: 145.1 kB / 1.244 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.2989, allocations: 89.59 kB / 1.244 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.2993, allocations: 0.4908 MB / 1.244 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2994, allocations: 38.5 kB / 1.244 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.2994, allocations: 4 kB / 1.244 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0007954/0.3002, allocations: 265.2 kB / 1.244 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3002, allocations: 77.11 kB / 1.245 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.3005, allocations: 271 kB / 1.245 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3005, allocations: 29.7 kB / 1.245 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3006, allocations: 164.5 kB / 1.245 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3007, allocations: 47.72 kB / 1.245 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.3008, allocations: 37.7 kB / 1.245 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3009, allocations: 334.8 kB / 1.245 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.3011, allocations: 63.94 kB / 1.245 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.3013, allocations: 122.7 kB / 1.246 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.3018, allocations: 172.1 kB / 1.246 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3018, allocations: 0 / 1.246 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005191/0.3023, allocations: 217.6 kB / 1.246 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3023, allocations: 8.094 kB / 1.246 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3023, allocations: 7.984 kB / 1.246 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3024, allocations: 0 / 1.246 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.3027, allocations: 51.89 kB / 1.246 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3027, allocations: 0 / 1.246 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.3029, allocations: 35.86 kB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3029, allocations: 4 kB / 1.246 GB, free: 3.219 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.0001557/0.3031, allocations: 149.8 kB / 1.246 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.3032, allocations: 23.86 kB / 1.246 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.3035, allocations: 183.9 kB / 1.246 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3035, allocations: 7.984 kB / 1.246 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3035, allocations: 3.938 kB / 1.246 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3035, allocations: 0 / 1.246 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007668/0.3043, allocations: 0.603 MB / 1.247 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3043, allocations: 0 / 1.247 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.3046, allocations: 51.94 kB / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3046, allocations: 0 / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3046, allocations: 8 kB / 1.247 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3046, allocations: 4.125 kB / 1.247 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.3046, allocations: 4 kB / 1.247 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.3052, allocations: 447.9 kB / 1.247 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3054, allocations: 120.9 kB / 1.248 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3054, allocations: 8 kB / 1.248 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.3057, allocations: 11.98 kB / 1.248 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.3057, allocations: 23.86 kB / 1.248 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3057, allocations: 7.984 kB / 1.248 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001716/0.3059, allocations: 198 kB / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3059, allocations: 0 / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004424/0.3064, allocations: 87.77 kB / 1.248 GB, free: 1.176 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.001169/0.3076, allocations: 1.07 MB / 1.249 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.508/0.8155, allocations: 170.7 kB / 1.249 GB, free: 31.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8156, allocations: 1.688 kB / 1.249 GB, free: 31.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.8159, allocations: 107.2 kB / 1.249 GB, free: 31.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009103/0.8168, allocations: 117.8 kB / 1.249 GB, free: 31.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.8199, allocations: 2.647 MB / 1.252 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.8201, allocations: 0.7741 MB / 1.253 GB, free: 29.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.8203, allocations: 53.38 kB / 1.253 GB, free: 29.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.8204, allocations: 87.69 kB / 1.253 GB, free: 29.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.8204, allocations: 3.375 kB / 1.253 GB, free: 29.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.8446, allocations: 8.131 MB / 1.261 GB, free: 28.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.726, allocations: 7.859 kB / 1.261 GB, free: 28.91 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches