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.008206/0.008206, allocations: 101 kB / 15.73 MB, free: 6.441 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.001667/0.001667, allocations: 195.9 kB / 16.68 MB, free: 6.355 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.914/2.914, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 68.11 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2977, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01789/0.3157, allocations: 15.39 MB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006815/0.3225, allocations: 4.666 MB / 1.227 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007556/0.3233, allocations: 15.88 kB / 1.227 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.3242, allocations: 190.6 kB / 1.227 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.3261, allocations: 0.6048 MB / 1.228 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.3279, allocations: 0.5649 MB / 1.228 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.3293, allocations: 0.9703 MB / 1.229 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.33, allocations: 320 kB / 1.229 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.3309, allocations: 418.3 kB / 1.23 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.3315, allocations: 306.6 kB / 1.23 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.212e-05/0.3316, allocations: 24 kB / 1.23 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006025/0.3322, allocations: 215.6 kB / 1.23 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3323, allocations: 87.59 kB / 1.23 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.3326, allocations: 206.8 kB / 1.231 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.3335, allocations: 0.4983 MB / 1.231 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3335, allocations: 7.938 kB / 1.231 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3335, allocations: 0 / 1.231 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.836e-05/0.3335, allocations: 0 / 1.231 GB, free: 1.566 MB / 0.9825 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.001304/0.3348, allocations: 0.7318 MB / 1.232 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3349, allocations: 12.62 kB / 1.232 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.504e-05/0.335, allocations: 58.67 kB / 1.232 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3351, allocations: 48.36 kB / 1.232 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.3358, allocations: 417.9 kB / 1.232 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3359, allocations: 20.38 kB / 1.232 GB, free: 196 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.3359, allocations: 27.98 kB / 1.232 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.3363, allocations: 199.3 kB / 1.233 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3363, allocations: 0 / 1.233 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.3363, allocations: 4 kB / 1.233 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3363, allocations: 8 kB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3365, allocations: 129.6 kB / 1.233 GB, free: 15.83 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.001423/0.338, allocations: 0.8751 MB / 1.234 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.3384, allocations: 118.6 kB / 1.234 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.3385, allocations: 48.84 kB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.3388, allocations: 340.3 kB / 1.234 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3388, allocations: 30.56 kB / 1.234 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.3388, allocations: 0 / 1.234 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003874/0.3392, allocations: 177 kB / 1.234 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.3393, allocations: 55.41 kB / 1.234 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.3398, allocations: 453.9 kB / 1.235 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3398, allocations: 33.7 kB / 1.235 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.34, allocations: 216.2 kB / 1.235 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.34, allocations: 35.45 kB / 1.235 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.3402, allocations: 57.61 kB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3403, allocations: 354.7 kB / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.3404, allocations: 47.98 kB / 1.235 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.3405, allocations: 109 kB / 1.236 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3407, allocations: 131.3 kB / 1.236 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3407, allocations: 7.984 kB / 1.236 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003606/0.3411, allocations: 221 kB / 1.236 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3411, allocations: 8 kB / 1.236 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3411, allocations: 4 kB / 1.236 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3412, allocations: 4 kB / 1.236 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.3414, allocations: 39.98 kB / 1.236 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3414, allocations: 0 / 1.236 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.3417, allocations: 43.66 kB / 1.236 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.3417, allocations: 8 kB / 1.236 GB, free: 12.2 MB / 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.0001397/0.3419, allocations: 153.7 kB / 1.236 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.342, allocations: 39.53 kB / 1.236 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.3423, allocations: 205.2 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3423, allocations: 0 / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3423, allocations: 0 / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3423, allocations: 0 / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.3431, allocations: 0.6264 MB / 1.237 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3431, allocations: 0 / 1.237 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3432, allocations: 27.92 kB / 1.237 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3432, allocations: 7.938 kB / 1.237 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3432, allocations: 4 kB / 1.237 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3432, allocations: 7.938 kB / 1.237 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3433, allocations: 0 / 1.237 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3435, allocations: 300.6 kB / 1.237 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3437, allocations: 128.5 kB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.3437, allocations: 4.281 kB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.344, allocations: 19.92 kB / 1.238 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.344, allocations: 7.984 kB / 1.238 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.344, allocations: 11.94 kB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003577/0.3444, allocations: 323.1 kB / 1.238 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3444, allocations: 0 / 1.238 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004336/0.3448, allocations: 111.8 kB / 1.238 GB, free: 10.13 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.000938/0.3458, allocations: 0.939 MB / 1.239 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.3461, allocations: 139.8 kB / 1.239 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3461, allocations: 4 kB / 1.239 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.3462, allocations: 55.91 kB / 1.239 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/0.3471, allocations: 183.8 kB / 1.239 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.3514, allocations: 3.266 MB / 1.242 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3517, allocations: 0.8074 MB / 1.243 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.352, allocations: 63.42 kB / 1.243 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.3521, allocations: 126 kB / 1.243 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/0.3522, allocations: 0 / 1.243 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6219/0.974, allocations: 11.1 MB / 1.254 GB, free: 39.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.926, allocations: 10.11 kB / 1.254 GB, free: 39.27 MB / 0.9981 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