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: translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.00137/0.00137, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.378/2.378, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.03 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2694, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01573/0.2852, allocations: 15.41 MB / 1.042 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006146/0.2914, allocations: 4.666 MB / 1.046 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.2918, allocations: 15.88 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.2924, allocations: 190.6 kB / 1.047 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.2939, allocations: 0.5634 MB / 1.047 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.2954, allocations: 0.5898 MB / 1.048 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.2966, allocations: 0.9587 MB / 1.049 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.297, allocations: 311.8 kB / 1.049 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000656/0.2977, allocations: 418.2 kB / 1.049 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.2981, allocations: 310.6 kB / 1.05 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.2981, allocations: 24 kB / 1.05 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.2986, allocations: 211.6 kB / 1.05 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2987, allocations: 91.59 kB / 1.05 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.2989, allocations: 202.8 kB / 1.05 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.2996, allocations: 0.5022 MB / 1.051 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2996, allocations: 4 kB / 1.051 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2996, allocations: 0 / 1.051 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.2996, allocations: 0 / 1.051 GB, free: 9.527 MB / 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.001076/0.3007, allocations: 0.7318 MB / 1.051 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3007, allocations: 12.03 kB / 1.051 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.3008, allocations: 48.38 kB / 1.051 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.3014, allocations: 409.9 kB / 1.052 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3015, allocations: 24.56 kB / 1.052 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.3015, allocations: 24 kB / 1.052 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.3019, allocations: 195.2 kB / 1.052 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3019, allocations: 0 / 1.052 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3019, allocations: 12 kB / 1.052 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3019, allocations: 8 kB / 1.052 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.3021, allocations: 133.7 kB / 1.052 GB, free: 7.852 MB / 0.8262 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.001376/0.3035, allocations: 0.8751 MB / 1.053 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.304, allocations: 110.6 kB / 1.053 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.3041, allocations: 60.77 kB / 1.053 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.3043, allocations: 336.4 kB / 1.053 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3044, allocations: 30.56 kB / 1.054 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3044, allocations: 0 / 1.054 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000334/0.3047, allocations: 173.1 kB / 1.054 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3047, allocations: 55.41 kB / 1.054 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.3052, allocations: 457.8 kB / 1.054 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3053, allocations: 33.7 kB / 1.054 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.3054, allocations: 212.2 kB / 1.054 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3055, allocations: 43.45 kB / 1.054 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.3056, allocations: 49.7 kB / 1.054 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3057, allocations: 350.7 kB / 1.055 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.3058, allocations: 51.97 kB / 1.055 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.3059, allocations: 106.7 kB / 1.055 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.3061, allocations: 139.2 kB / 1.055 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3061, allocations: 0 / 1.055 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003363/0.3065, allocations: 224.9 kB / 1.055 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3065, allocations: 8 kB / 1.055 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3065, allocations: 0 / 1.055 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3065, allocations: 4 kB / 1.055 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.3068, allocations: 35.98 kB / 1.055 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.3068, allocations: 7.938 kB / 1.055 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.3071, allocations: 43.66 kB / 1.055 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.3071, allocations: 8 kB / 1.055 GB, free: 4.23 MB / 0.8262 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.0001387/0.3072, allocations: 149.8 kB / 1.056 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.3073, allocations: 39.62 kB / 1.056 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.3076, allocations: 199.3 kB / 1.056 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3077, allocations: 7.984 kB / 1.056 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3077, allocations: 3.938 kB / 1.056 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3077, allocations: 4 kB / 1.056 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007182/0.3084, allocations: 0.6185 MB / 1.056 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3084, allocations: 3.938 kB / 1.056 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3085, allocations: 31.98 kB / 1.056 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3085, allocations: 8.125 kB / 1.056 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3086, allocations: 4 kB / 1.056 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3086, allocations: 4 kB / 1.056 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3086, allocations: 3.938 kB / 1.056 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3089, allocations: 298.3 kB / 1.057 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.309, allocations: 128.6 kB / 1.057 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.3091, allocations: 0 / 1.057 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3093, allocations: 15.98 kB / 1.057 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.3093, allocations: 11.92 kB / 1.057 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3094, allocations: 4 kB / 1.057 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003642/0.3097, allocations: 331.1 kB / 1.057 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3097, allocations: 0 / 1.057 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004005/0.3101, allocations: 107.8 kB / 1.057 GB, free: 2.156 MB / 0.8262 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.0003904/0.3105, allocations: 228.4 kB / 1.058 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.3108, allocations: 127.9 kB / 1.058 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3108, allocations: 0 / 1.058 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.3109, allocations: 64.31 kB / 1.058 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.3118, allocations: 175 kB / 1.058 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.313, allocations: 0.6659 MB / 1.059 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3133, allocations: 0.8074 MB / 1.059 GB, free: 36 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002056/0.3136, allocations: 70.94 kB / 1.059 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.3136, allocations: 27.44 kB / 1.059 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3136, allocations: 0 / 1.059 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.5673/0.881, allocations: 7.138 MB / 1.066 GB, free: 8.957 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (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 & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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