Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_10_Buildings_Experimental_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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.257/2.257, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.473, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01348/0.4865, allocations: 15.36 MB / 1.032 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005044/0.4916, allocations: 4.69 MB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.4918, allocations: 15.88 kB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.4923, allocations: 155.1 kB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000943/0.4933, allocations: 0.5131 MB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.4943, allocations: 0.5192 MB / 1.037 GB, free: 13.47 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.4954, allocations: 1.243 MB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.4957, allocations: 273.5 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.4962, allocations: 370.3 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.4965, allocations: 318.6 kB / 1.04 GB, free: 11.27 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.4966, allocations: 16 kB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.497, allocations: 195.6 kB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.4971, allocations: 79.55 kB / 1.04 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.4973, allocations: 202.8 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.4978, allocations: 494.3 kB / 1.041 GB, free: 10.3 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4978, allocations: 4 kB / 1.041 GB, free: 10.3 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.21e-07/0.4978, allocations: 3.938 kB / 1.041 GB, free: 10.3 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4978, allocations: 0 / 1.041 GB, free: 10.3 MB / 0.795 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.0009816/0.4988, allocations: 0.7298 MB / 1.041 GB, free: 9.516 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.4988, allocations: 8.031 kB / 1.041 GB, free: 9.508 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.4989, allocations: 54.73 kB / 1.041 GB, free: 9.445 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.499, allocations: 48.38 kB / 1.041 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.4994, allocations: 401.9 kB / 1.042 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.4995, allocations: 28.38 kB / 1.042 GB, free: 8.938 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.4995, allocations: 24 kB / 1.042 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.4998, allocations: 191.3 kB / 1.042 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.4998, allocations: 0 / 1.042 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4999, allocations: 8 kB / 1.042 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4999, allocations: 8 kB / 1.042 GB, free: 8.707 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.5001, allocations: 129.7 kB / 1.042 GB, free: 8.578 MB / 0.795 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.001258/0.5013, allocations: 0.8829 MB / 1.043 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.5018, allocations: 114.6 kB / 1.043 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.5018, allocations: 44.84 kB / 1.043 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/0.5021, allocations: 348.4 kB / 1.043 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.5021, allocations: 30.56 kB / 1.044 GB, free: 7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.5021, allocations: 0 / 1.044 GB, free: 7 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003244/0.5024, allocations: 173.1 kB / 1.044 GB, free: 6.824 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.5025, allocations: 55.41 kB / 1.044 GB, free: 6.758 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.5029, allocations: 461.8 kB / 1.044 GB, free: 6.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.503, allocations: 29.7 kB / 1.044 GB, free: 6.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.5031, allocations: 212.3 kB / 1.044 GB, free: 6.047 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.5032, allocations: 47.39 kB / 1.044 GB, free: 6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.5032, allocations: 53.7 kB / 1.045 GB, free: 5.941 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5033, allocations: 354.7 kB / 1.045 GB, free: 5.586 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.5034, allocations: 47.98 kB / 1.045 GB, free: 5.539 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.5036, allocations: 103.1 kB / 1.045 GB, free: 5.422 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.5038, allocations: 139.3 kB / 1.045 GB, free: 5.273 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5038, allocations: 0 / 1.045 GB, free: 5.273 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003149/0.5041, allocations: 224.9 kB / 1.045 GB, free: 5.047 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.5041, allocations: 4 kB / 1.045 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5041, allocations: 4 kB / 1.045 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.5041, allocations: 0 / 1.045 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.5043, allocations: 39.98 kB / 1.045 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5044, allocations: 3.984 kB / 1.045 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.5047, allocations: 43.67 kB / 1.045 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.5047, allocations: 11.98 kB / 1.045 GB, free: 4.941 MB / 0.795 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.000133/0.5048, allocations: 161.7 kB / 1.046 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.5049, allocations: 35.53 kB / 1.046 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.5052, allocations: 194 kB / 1.046 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.5052, allocations: 7.938 kB / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5052, allocations: 0 / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5053, allocations: 0 / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.5059, allocations: 0.6263 MB / 1.046 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5059, allocations: 0 / 1.046 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.506, allocations: 24.12 kB / 1.046 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.506, allocations: 3.938 kB / 1.046 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5061, allocations: 11.98 kB / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5061, allocations: 3.938 kB / 1.046 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5061, allocations: 4 kB / 1.046 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.5063, allocations: 300.2 kB / 1.047 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5065, allocations: 132.6 kB / 1.047 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.5065, allocations: 4 kB / 1.047 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.5068, allocations: 31.83 kB / 1.047 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.5068, allocations: 11.98 kB / 1.047 GB, free: 3.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.5068, allocations: 8 kB / 1.047 GB, free: 3.273 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003401/0.5072, allocations: 323.1 kB / 1.047 GB, free: 2.957 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5072, allocations: 0 / 1.047 GB, free: 2.957 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003728/0.5075, allocations: 103.9 kB / 1.047 GB, free: 2.855 MB / 0.795 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.0007345/0.5083, allocations: 0.9538 MB / 1.048 GB, free: 1.875 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.5085, allocations: 127.8 kB / 1.048 GB, free: 1.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5085, allocations: 4 kB / 1.048 GB, free: 1.746 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.5086, allocations: 55.92 kB / 1.048 GB, free: 1.691 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5097, allocations: 206.6 kB / 1.049 GB, free: 1.492 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.5135, allocations: 3.43 MB / 1.052 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5137, allocations: 0.8116 MB / 1.053 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.514, allocations: 65.62 kB / 1.053 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.5141, allocations: 119.4 kB / 1.053 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.5141, allocations: 4 kB / 1.053 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.49/1.004, allocations: 10.93 MB / 1.064 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/1.004, allocations: 289.8 kB / 1.064 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.987, allocations: 0 / 1.064 GB, free: 1.934 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches