Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_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_latest_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.0009053/0.0009054, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004947/0.004947, allocations: 169 kB / 16.26 MB, free: 6.652 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.393/2.393, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 13.81 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2512, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01586/0.2671, allocations: 14.83 MB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005659/0.2728, allocations: 4.631 MB / 1.078 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.2733, allocations: 15.88 kB / 1.078 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.2738, allocations: 159.1 kB / 1.078 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.2751, allocations: 0.5159 MB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2763, allocations: 0.513 MB / 1.079 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.2776, allocations: 1.243 MB / 1.08 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.2781, allocations: 267.7 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006313/0.2787, allocations: 378.3 kB / 1.081 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.2791, allocations: 302.5 kB / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.2792, allocations: 12 kB / 1.081 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.2796, allocations: 195.6 kB / 1.081 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.2797, allocations: 71.61 kB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.2799, allocations: 216.5 kB / 1.082 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.2805, allocations: 494.2 kB / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2805, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2805, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.2805, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 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.0009684/0.2815, allocations: 0.6697 MB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2815, allocations: 8.031 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.2816, allocations: 54.73 kB / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/0.2817, allocations: 48.38 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.2822, allocations: 397.7 kB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2822, allocations: 24.44 kB / 1.083 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.2823, allocations: 27.94 kB / 1.083 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.2826, allocations: 195.3 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.2826, allocations: 0 / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.2826, allocations: 8 kB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.2826, allocations: 11.98 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.2829, allocations: 129.7 kB / 1.084 GB, free: 11.26 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.001347/0.2842, allocations: 0.879 MB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.2846, allocations: 114.6 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.2847, allocations: 56.83 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.285, allocations: 332.4 kB / 1.085 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.285, allocations: 38.56 kB / 1.085 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.285, allocations: 0 / 1.085 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.000324/0.2853, allocations: 177.1 kB / 1.085 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.2854, allocations: 55.34 kB / 1.085 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.2859, allocations: 461.8 kB / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2859, allocations: 29.7 kB / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.286, allocations: 216.2 kB / 1.086 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.2861, allocations: 43.44 kB / 1.086 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.2861, allocations: 25.72 kB / 1.086 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2862, allocations: 354.7 kB / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.2863, allocations: 47.98 kB / 1.086 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2864, allocations: 101.1 kB / 1.086 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2866, allocations: 139.3 kB / 1.087 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2866, allocations: 0 / 1.087 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003168/0.287, allocations: 221 kB / 1.087 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.287, allocations: 5.719 kB / 1.087 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.287, allocations: 0 / 1.087 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.287, allocations: 7.938 kB / 1.087 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.2872, allocations: 39.98 kB / 1.087 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.2872, allocations: 0 / 1.087 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.2876, allocations: 53.91 kB / 1.087 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.2876, allocations: 7.984 kB / 1.087 GB, free: 7.645 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.0001307/0.2877, allocations: 157.7 kB / 1.087 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.2878, allocations: 43.62 kB / 1.087 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.2881, allocations: 197.8 kB / 1.087 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2881, allocations: 3.938 kB / 1.087 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2881, allocations: 0 / 1.087 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2881, allocations: 0 / 1.087 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.2888, allocations: 0.6263 MB / 1.088 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2888, allocations: 0 / 1.088 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.2889, allocations: 24.12 kB / 1.088 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2889, allocations: 4 kB / 1.088 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.289, allocations: 4 kB / 1.088 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.289, allocations: 15.86 kB / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.289, allocations: 0 / 1.088 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2892, allocations: 290.4 kB / 1.088 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2894, allocations: 140.4 kB / 1.088 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.2894, allocations: 7.984 kB / 1.088 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.2897, allocations: 23.98 kB / 1.088 GB, free: 6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2897, allocations: 19.92 kB / 1.088 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.2897, allocations: 8 kB / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003481/0.2901, allocations: 327.1 kB / 1.089 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2901, allocations: 0 / 1.089 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003887/0.2905, allocations: 95.94 kB / 1.089 GB, free: 5.562 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.0007625/0.2912, allocations: 0.9564 MB / 1.09 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.2915, allocations: 127.8 kB / 1.09 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2915, allocations: 4.469 kB / 1.09 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.2916, allocations: 55.91 kB / 1.09 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.2928, allocations: 210.1 kB / 1.09 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.2968, allocations: 3.458 MB / 1.093 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.2971, allocations: 0.8115 MB / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.2974, allocations: 66.8 kB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.2975, allocations: 123.4 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.2975, allocations: 0 / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4984/0.7959, allocations: 10.8 MB / 1.105 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.7962, allocations: 293 kB / 1.105 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.696, allocations: 3.938 kB / 1.105 GB, free: 4.746 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches