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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00129/0.00129, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001319/0.001319, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5685, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01476/0.5833, allocations: 15.33 MB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005423/0.5887, allocations: 4.651 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.589, allocations: 11.94 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.5895, allocations: 155 kB / 1.037 GB, free: 14.45 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.5907, allocations: 0.5249 MB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.5919, allocations: 0.5178 MB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009864/0.5929, allocations: 0.9625 MB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003858/0.5933, allocations: 310.1 kB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.5938, allocations: 414.2 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.5942, allocations: 314.6 kB / 1.04 GB, free: 11.42 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.5943, allocations: 24 kB / 1.04 GB, free: 11.4 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.5946, allocations: 215.6 kB / 1.04 GB, free: 11.19 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.256e-05/0.5947, allocations: 83.61 kB / 1.04 GB, free: 11.11 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.5949, allocations: 206.8 kB / 1.04 GB, free: 10.9 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.5955, allocations: 0.5021 MB / 1.041 GB, free: 10.4 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5955, allocations: 0 / 1.041 GB, free: 10.4 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5955, allocations: 0 / 1.041 GB, free: 10.4 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.5955, allocations: 0 / 1.041 GB, free: 10.4 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.001055/0.5966, allocations: 0.728 MB / 1.041 GB, free: 9.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5966, allocations: 12.03 kB / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.5967, allocations: 54.73 kB / 1.041 GB, free: 9.543 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/0.5967, allocations: 48.38 kB / 1.041 GB, free: 9.496 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.5973, allocations: 390 kB / 1.042 GB, free: 9.074 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.5973, allocations: 28.31 kB / 1.042 GB, free: 9.047 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.5973, allocations: 24 kB / 1.042 GB, free: 9.023 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.5977, allocations: 195.3 kB / 1.042 GB, free: 8.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5977, allocations: 4 kB / 1.042 GB, free: 8.824 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.5977, allocations: 8 kB / 1.042 GB, free: 8.816 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5978, allocations: 7.938 kB / 1.042 GB, free: 8.809 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.598, allocations: 137.7 kB / 1.042 GB, free: 8.672 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.001367/0.5994, allocations: 0.8867 MB / 1.043 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.5998, allocations: 110.6 kB / 1.043 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.5999, allocations: 52.84 kB / 1.043 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.6002, allocations: 332.4 kB / 1.043 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.6002, allocations: 38.56 kB / 1.044 GB, free: 7.094 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.6002, allocations: 0 / 1.044 GB, free: 7.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003322/0.6005, allocations: 177 kB / 1.044 GB, free: 6.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.6006, allocations: 51.41 kB / 1.044 GB, free: 6.852 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.6011, allocations: 461.9 kB / 1.044 GB, free: 6.391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.6011, allocations: 29.7 kB / 1.044 GB, free: 6.355 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.6013, allocations: 208.3 kB / 1.044 GB, free: 6.145 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.6013, allocations: 51.3 kB / 1.044 GB, free: 6.094 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.6014, allocations: 53.69 kB / 1.044 GB, free: 6.035 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6015, allocations: 354.7 kB / 1.045 GB, free: 5.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.6016, allocations: 47.97 kB / 1.045 GB, free: 5.633 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.6018, allocations: 103.2 kB / 1.045 GB, free: 5.516 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.602, allocations: 135.4 kB / 1.045 GB, free: 5.371 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.602, allocations: 4 kB / 1.045 GB, free: 5.367 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003324/0.6023, allocations: 228.9 kB / 1.045 GB, free: 5.137 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6023, allocations: 4 kB / 1.045 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6024, allocations: 0 / 1.045 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6024, allocations: 4 kB / 1.045 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.6026, allocations: 39.97 kB / 1.045 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.6026, allocations: 7.938 kB / 1.045 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.6029, allocations: 43.67 kB / 1.045 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.603, allocations: 11.98 kB / 1.045 GB, free: 5.027 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.0001432/0.6031, allocations: 157.8 kB / 1.046 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.6032, allocations: 39.44 kB / 1.046 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.6035, allocations: 192.8 kB / 1.046 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6035, allocations: 0 / 1.046 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6036, allocations: 4 kB / 1.046 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6036, allocations: 7.922 kB / 1.046 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007147/0.6043, allocations: 0.6185 MB / 1.046 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6043, allocations: 4 kB / 1.046 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.6044, allocations: 32.05 kB / 1.046 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.6044, allocations: 0 / 1.046 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.6045, allocations: 8 kB / 1.046 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.6045, allocations: 3.938 kB / 1.046 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6045, allocations: 3.984 kB / 1.046 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.6047, allocations: 303.7 kB / 1.047 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.6049, allocations: 128.6 kB / 1.047 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.6049, allocations: 0 / 1.047 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.6052, allocations: 27.91 kB / 1.047 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.6052, allocations: 4 kB / 1.047 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.6053, allocations: 11.98 kB / 1.047 GB, free: 3.371 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003746/0.6056, allocations: 327.1 kB / 1.047 GB, free: 3.051 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6056, allocations: 0 / 1.047 GB, free: 3.051 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003884/0.606, allocations: 103.8 kB / 1.047 GB, free: 2.949 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.0008473/0.6069, allocations: 0.9596 MB / 1.048 GB, free: 1.965 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.6072, allocations: 135.8 kB / 1.048 GB, free: 1.832 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6072, allocations: 0 / 1.048 GB, free: 1.832 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.6073, allocations: 67.84 kB / 1.048 GB, free: 1.766 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009653/0.6082, allocations: 170.9 kB / 1.049 GB, free: 1.602 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.6124, allocations: 3.435 MB / 1.052 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.6128, allocations: 0.7996 MB / 1.053 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.613, allocations: 65.95 kB / 1.053 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.6132, allocations: 127.4 kB / 1.053 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.6132, allocations: 0 / 1.053 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.6413, allocations: 11 MB / 1.064 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.6417, allocations: 299 kB / 1.064 GB, free: 2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.465, allocations: 6.688 kB / 1.064 GB, free: 1.996 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