Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",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.007571/0.007571, allocations: 99.31 kB / 15.73 MB, free: 6.012 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.001908/0.001908, allocations: 197.3 kB / 16.67 MB, free: 5.949 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.913/2.913, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3401, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02213/0.3623, allocations: 15.39 MB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007669/0.37, allocations: 4.662 MB / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.3707, allocations: 11.94 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.3715, allocations: 194.5 kB / 1.24 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.3735, allocations: 0.5556 MB / 1.24 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.3755, allocations: 0.588 MB / 1.241 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.3773, allocations: 0.9742 MB / 1.242 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.378, allocations: 315.8 kB / 1.242 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009551/0.379, allocations: 406.3 kB / 1.243 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.3796, allocations: 306.6 kB / 1.243 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.408e-05/0.3797, allocations: 24 kB / 1.243 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006254/0.3803, allocations: 215.6 kB / 1.243 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3805, allocations: 87.59 kB / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.3808, allocations: 202.8 kB / 1.244 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3818, allocations: 0.5096 MB / 1.244 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3819, allocations: 0 / 1.244 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3819, allocations: 0 / 1.244 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.3819, allocations: 0 / 1.244 GB, free: 5.801 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001355/0.3833, allocations: 0.7509 MB / 1.245 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3833, allocations: 8.031 kB / 1.245 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.3834, allocations: 54.73 kB / 1.245 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3835, allocations: 52.61 kB / 1.245 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.3842, allocations: 410.4 kB / 1.245 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.3843, allocations: 24.38 kB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.3843, allocations: 24 kB / 1.245 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.3847, allocations: 203.2 kB / 1.245 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3847, allocations: 4 kB / 1.245 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.3847, allocations: 8 kB / 1.245 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3847, allocations: 4 kB / 1.245 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.385, allocations: 133.7 kB / 1.246 GB, free: 4.039 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.00161/0.3866, allocations: 0.8754 MB / 1.246 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.3871, allocations: 110.6 kB / 1.247 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.3872, allocations: 64.7 kB / 1.247 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.3876, allocations: 328.4 kB / 1.247 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3876, allocations: 38.55 kB / 1.247 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.3877, allocations: 0 / 1.247 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004352/0.3881, allocations: 173.4 kB / 1.247 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3882, allocations: 51.41 kB / 1.247 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.3888, allocations: 461.9 kB / 1.248 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3888, allocations: 29.7 kB / 1.248 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.389, allocations: 220.4 kB / 1.248 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.3891, allocations: 39.62 kB / 1.248 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3892, allocations: 57.66 kB / 1.248 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3894, allocations: 354.7 kB / 1.248 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3895, allocations: 55.91 kB / 1.248 GB, free: 1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.3897, allocations: 105.1 kB / 1.248 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.3899, allocations: 131.3 kB / 1.249 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3899, allocations: 0 / 1.249 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004147/0.3904, allocations: 221.4 kB / 1.249 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3904, allocations: 7.984 kB / 1.249 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.3904, allocations: 0 / 1.249 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3904, allocations: 4 kB / 1.249 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.3906, allocations: 47.92 kB / 1.249 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3907, allocations: 0 / 1.249 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.391, allocations: 35.81 kB / 1.249 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.391, allocations: 12 kB / 1.249 GB, free: 420 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001775/0.3912, allocations: 161.8 kB / 1.249 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.3913, allocations: 39.72 kB / 1.249 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.3917, allocations: 202 kB / 1.249 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3917, allocations: 4 kB / 1.249 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3918, allocations: 0 / 1.249 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.573/0.9648, allocations: 0.7656 kB / 1.249 GB, free: 31.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.966, allocations: 0.6214 MB / 1.25 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.966, allocations: 4.547 kB / 1.25 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.9662, allocations: 24.11 kB / 1.25 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.9662, allocations: 1.438 kB / 1.25 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.9662, allocations: 6.719 kB / 1.25 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.9662, allocations: 11.17 kB / 1.25 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9662, allocations: 1.594 kB / 1.25 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.9666, allocations: 296.7 kB / 1.25 GB, free: 31.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.9667, allocations: 133.9 kB / 1.25 GB, free: 31.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.9668, allocations: 4.422 kB / 1.25 GB, free: 31.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.9671, allocations: 15.12 kB / 1.25 GB, free: 31.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.9671, allocations: 9.25 kB / 1.25 GB, free: 31.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.9671, allocations: 6.375 kB / 1.25 GB, free: 31.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004717/0.9676, allocations: 324.9 kB / 1.251 GB, free: 31.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9676, allocations: 0 / 1.251 GB, free: 31.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005368/0.9682, allocations: 113.6 kB / 1.251 GB, free: 31.24 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009601/0.9691, allocations: 0.9437 MB / 1.252 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.9695, allocations: 136.6 kB / 1.252 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9695, allocations: 2.125 kB / 1.252 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.9696, allocations: 59.77 kB / 1.252 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.9708, allocations: 178.4 kB / 1.252 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/0.9756, allocations: 3.29 MB / 1.255 GB, free: 29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.976, allocations: 0.8063 MB / 1.256 GB, free: 28.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.9763, allocations: 71.55 kB / 1.256 GB, free: 28.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.9765, allocations: 124.7 kB / 1.256 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.9765, allocations: 0.8125 kB / 1.256 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04442/1.021, allocations: 11.09 MB / 1.267 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.107/10.13, allocations: 11.09 kB / 1.267 GB, free: 27.29 MB / 0.9981 GB (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_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_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches