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.001647/0.001647, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 195.6 kB / 16.54 MB, free: 6.672 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.69 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2487, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01667/0.2654, allocations: 15.38 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005774/0.2712, allocations: 4.679 MB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.2717, allocations: 19.88 kB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.2723, allocations: 186.6 kB / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.2736, allocations: 0.5634 MB / 1.084 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.275, allocations: 0.5696 MB / 1.085 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.2761, allocations: 0.9548 MB / 1.086 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/0.2766, allocations: 320.1 kB / 1.086 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006446/0.2772, allocations: 398.3 kB / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.2777, allocations: 318.5 kB / 1.086 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.2777, allocations: 24 kB / 1.087 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.2782, allocations: 211.6 kB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2783, allocations: 83.61 kB / 1.087 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.2785, allocations: 206.8 kB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.2791, allocations: 0.4944 MB / 1.087 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2791, allocations: 0 / 1.087 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2791, allocations: 0 / 1.087 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.2792, allocations: 0 / 1.087 GB, free: 6.098 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.001065/0.2802, allocations: 0.7357 MB / 1.088 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2803, allocations: 8.031 kB / 1.088 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.2803, allocations: 54.73 kB / 1.088 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.262e-05/0.2804, allocations: 52.36 kB / 1.088 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.281, allocations: 401.9 kB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.281, allocations: 24.38 kB / 1.089 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.281, allocations: 20 kB / 1.089 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.2814, allocations: 195.3 kB / 1.089 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2814, allocations: 0 / 1.089 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2814, allocations: 8 kB / 1.089 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.2814, allocations: 4 kB / 1.089 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.2816, allocations: 141.6 kB / 1.089 GB, free: 4.375 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.001385/0.283, allocations: 0.8868 MB / 1.09 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.2835, allocations: 114.6 kB / 1.09 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.2836, allocations: 52.83 kB / 1.09 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.2838, allocations: 332.4 kB / 1.09 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2839, allocations: 30.56 kB / 1.09 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.2839, allocations: 0 / 1.09 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003494/0.2842, allocations: 181.1 kB / 1.091 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.2843, allocations: 55.34 kB / 1.091 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.2848, allocations: 461.8 kB / 1.091 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2848, allocations: 29.7 kB / 1.091 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.285, allocations: 212.2 kB / 1.091 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.285, allocations: 39.45 kB / 1.091 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.2851, allocations: 57.59 kB / 1.091 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2852, allocations: 350.7 kB / 1.092 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.67e-05/0.2853, allocations: 51.97 kB / 1.092 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.2855, allocations: 107.5 kB / 1.092 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.2857, allocations: 131.3 kB / 1.092 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2857, allocations: 0 / 1.092 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003488/0.2861, allocations: 217 kB / 1.092 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2861, allocations: 8 kB / 1.092 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2861, allocations: 3.938 kB / 1.092 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2861, allocations: 0 / 1.092 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.2863, allocations: 47.97 kB / 1.092 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2863, allocations: 4 kB / 1.092 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.2867, allocations: 35.67 kB / 1.092 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.2867, allocations: 15.98 kB / 1.092 GB, free: 0.7383 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.0001368/0.2868, allocations: 155.4 kB / 1.093 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.2869, allocations: 39.62 kB / 1.093 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.2872, allocations: 200 kB / 1.093 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2872, allocations: 0 / 1.093 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2873, allocations: 3.938 kB / 1.093 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2873, allocations: 0 / 1.093 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.288, allocations: 0.6302 MB / 1.093 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.288, allocations: 4.031 kB / 1.093 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2881, allocations: 20 kB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2881, allocations: 4 kB / 1.093 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2881, allocations: 4 kB / 1.093 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.2881, allocations: 15.86 kB / 1.093 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2881, allocations: 0 / 1.093 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.2884, allocations: 290.5 kB / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2886, allocations: 140.4 kB / 1.094 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.2886, allocations: 4.062 kB / 1.094 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.2889, allocations: 23.86 kB / 1.094 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.2889, allocations: 7.984 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2889, allocations: 8 kB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003703/0.2893, allocations: 327.1 kB / 1.094 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2893, allocations: 0 / 1.094 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004049/0.2897, allocations: 92 kB / 1.094 GB, free: 14.67 MB / 0.8575 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.000796/0.2905, allocations: 0.9549 MB / 1.095 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.2908, allocations: 131.8 kB / 1.095 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2908, allocations: 4 kB / 1.095 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.153e-05/0.2909, allocations: 59.91 kB / 1.095 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.2919, allocations: 177.2 kB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.2959, allocations: 3.321 MB / 1.099 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.2963, allocations: 0.8074 MB / 1.1 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.2965, allocations: 72.73 kB / 1.1 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2967, allocations: 127.4 kB / 1.1 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.2967, allocations: 0 / 1.1 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.3249, allocations: 11 MB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.879, allocations: 13.03 kB / 1.111 GB, free: 14.11 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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