Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_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.002248/0.002248, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002512/0.002512, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.443/2.443, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.381/4.381, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003019/0.003019, allocations: 66.97 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.437, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02983/0.4669, allocations: 15.34 MB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.4778, allocations: 4.64 MB / 1.072 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008388/0.4787, allocations: 15.88 kB / 1.072 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.4797, allocations: 167.1 kB / 1.072 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.4824, allocations: 0.5239 MB / 1.073 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.485, allocations: 0.5088 MB / 1.073 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.4871, allocations: 0.9625 MB / 1.074 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007948/0.4879, allocations: 317.6 kB / 1.074 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.4892, allocations: 406.3 kB / 1.075 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007847/0.49, allocations: 318.6 kB / 1.075 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.4901, allocations: 24 kB / 1.075 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008564/0.491, allocations: 215.6 kB / 1.075 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.4912, allocations: 87.61 kB / 1.075 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.4916, allocations: 206.8 kB / 1.076 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.4928, allocations: 0.5022 MB / 1.076 GB, free: 384 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4928, allocations: 0 / 1.076 GB, free: 384 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4928, allocations: 0 / 1.076 GB, free: 384 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.4928, allocations: 0 / 1.076 GB, free: 384 kB / 0.8262 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.001943/0.4948, allocations: 0.7318 MB / 1.077 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.4949, allocations: 12.62 kB / 1.077 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.495, allocations: 58.72 kB / 1.077 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.4952, allocations: 48.38 kB / 1.077 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.4961, allocations: 390 kB / 1.077 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.4962, allocations: 20.38 kB / 1.077 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.4963, allocations: 24 kB / 1.077 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.4969, allocations: 191.3 kB / 1.077 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4969, allocations: 3.938 kB / 1.077 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.4969, allocations: 12 kB / 1.077 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.497, allocations: 8 kB / 1.077 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.4974, allocations: 133.6 kB / 1.078 GB, free: 14.66 MB / 0.8419 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.002454/0.4999, allocations: 0.879 MB / 1.078 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/0.5007, allocations: 114.6 kB / 1.079 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.5008, allocations: 52.83 kB / 1.079 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.5013, allocations: 336.4 kB / 1.079 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5013, allocations: 30.56 kB / 1.079 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 3.076e-06/0.5014, allocations: 0 / 1.079 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.000641/0.502, allocations: 173.1 kB / 1.079 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5021, allocations: 63.41 kB / 1.079 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.5031, allocations: 453.8 kB / 1.08 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.5031, allocations: 33.7 kB / 1.08 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.5034, allocations: 208.2 kB / 1.08 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.5035, allocations: 39.45 kB / 1.08 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.5036, allocations: 57.69 kB / 1.08 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.5039, allocations: 350.7 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.5041, allocations: 51.98 kB / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.5044, allocations: 109 kB / 1.08 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.5047, allocations: 131.3 kB / 1.081 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5047, allocations: 0 / 1.081 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006964/0.5055, allocations: 224.9 kB / 1.081 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5055, allocations: 8 kB / 1.081 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5055, allocations: 4 kB / 1.081 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5055, allocations: 0 / 1.081 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.506, allocations: 43.92 kB / 1.081 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.506, allocations: 3.984 kB / 1.081 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.5066, allocations: 39.67 kB / 1.081 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.5067, allocations: 11.98 kB / 1.081 GB, free: 11.03 MB / 0.8419 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.0002716/0.507, allocations: 161.7 kB / 1.081 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.5071, allocations: 35.53 kB / 1.081 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.5077, allocations: 193.9 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5078, allocations: 4 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5078, allocations: 3.938 kB / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5078, allocations: 0 / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.5092, allocations: 0.6345 MB / 1.082 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5093, allocations: 0 / 1.082 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.5095, allocations: 23.94 kB / 1.082 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5095, allocations: 0 / 1.082 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5095, allocations: 8 kB / 1.082 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.5095, allocations: 7.922 kB / 1.082 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5096, allocations: 4.125 kB / 1.082 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.5101, allocations: 288.7 kB / 1.082 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.5104, allocations: 136.5 kB / 1.082 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.5105, allocations: 4 kB / 1.082 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.511, allocations: 27.83 kB / 1.082 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.5111, allocations: 11.98 kB / 1.082 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.5111, allocations: 4 kB / 1.082 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000678/0.5118, allocations: 323.1 kB / 1.083 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5118, allocations: 0 / 1.083 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000839/0.5126, allocations: 108.2 kB / 1.083 GB, free: 8.957 MB / 0.8419 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.001433/0.5141, allocations: 0.9614 MB / 1.084 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004928/0.5146, allocations: 135.8 kB / 1.084 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5146, allocations: 0 / 1.084 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.5148, allocations: 55.91 kB / 1.084 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.5166, allocations: 176.2 kB / 1.084 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007799/0.5244, allocations: 3.428 MB / 1.087 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.525, allocations: 0.8113 MB / 1.088 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004932/0.5255, allocations: 70.34 kB / 1.088 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.5258, allocations: 123.4 kB / 1.088 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of SimCode: time 8.52e-07/0.5259, allocations: 0 / 1.088 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5476/1.073, allocations: 10.89 MB / 1.099 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004258/1.074, allocations: 284.7 kB / 1.099 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.364/5.438, allocations: 0 / 1.099 GB, free: 8.074 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches