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.001638/0.001639, allocations: 106.7 kB / 16.37 MB, free: 6.012 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.001889/0.00189, allocations: 195.5 kB / 17.31 MB, free: 5.613 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 56.56 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3181, allocations: 153 MB / 1.027 GB, free: 1.992 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01688/0.335, allocations: 15.42 MB / 1.042 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006579/0.3416, allocations: 4.666 MB / 1.046 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/0.3424, allocations: 19.81 kB / 1.046 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.3431, allocations: 186.6 kB / 1.047 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.3449, allocations: 0.5711 MB / 1.047 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.3467, allocations: 0.5716 MB / 1.048 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.3481, allocations: 0.9626 MB / 1.049 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005284/0.3487, allocations: 323.7 kB / 1.049 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008913/0.3496, allocations: 414.3 kB / 1.049 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.35, allocations: 302.7 kB / 1.05 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.3501, allocations: 31.94 kB / 1.05 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.3507, allocations: 211.6 kB / 1.05 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3508, allocations: 79.62 kB / 1.05 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.3511, allocations: 210.8 kB / 1.05 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.3518, allocations: 0.5022 MB / 1.051 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.3518, allocations: 0 / 1.051 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3519, allocations: 4 kB / 1.051 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3519, allocations: 0 / 1.051 GB, free: 9.477 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.001226/0.3531, allocations: 0.7357 MB / 1.051 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3532, allocations: 12.03 kB / 1.051 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3533, allocations: 48.38 kB / 1.051 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007538/0.354, allocations: 402 kB / 1.052 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.464e-05/0.3541, allocations: 24.56 kB / 1.052 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.3542, allocations: 24 kB / 1.052 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.3545, allocations: 199.2 kB / 1.052 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3545, allocations: 4 kB / 1.052 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.3546, allocations: 8 kB / 1.052 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3546, allocations: 12 kB / 1.052 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.3548, allocations: 129.6 kB / 1.052 GB, free: 7.801 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.001616/0.3565, allocations: 0.8829 MB / 1.053 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.3569, allocations: 106.6 kB / 1.053 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.357, allocations: 52.83 kB / 1.053 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003522/0.3574, allocations: 340.4 kB / 1.053 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3574, allocations: 30.56 kB / 1.054 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.3574, allocations: 0 / 1.054 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000429/0.3578, allocations: 177.1 kB / 1.054 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3579, allocations: 55.41 kB / 1.054 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.3585, allocations: 457.8 kB / 1.054 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3585, allocations: 29.7 kB / 1.054 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3587, allocations: 212.2 kB / 1.054 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.3587, allocations: 43.45 kB / 1.054 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.3588, allocations: 49.7 kB / 1.054 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002353/0.3591, allocations: 346.8 kB / 1.055 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.906e-05/0.3592, allocations: 51.97 kB / 1.055 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.3594, allocations: 110.4 kB / 1.055 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.3596, allocations: 143.3 kB / 1.055 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3596, allocations: 0 / 1.055 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004512/0.36, allocations: 220.9 kB / 1.055 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3601, allocations: 8 kB / 1.055 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3601, allocations: 0 / 1.055 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3601, allocations: 0 / 1.055 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3603, allocations: 43.92 kB / 1.055 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.3604, allocations: 4 kB / 1.055 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.3607, allocations: 43.66 kB / 1.055 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3607, allocations: 8.188 kB / 1.055 GB, free: 4.18 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.0001559/0.3609, allocations: 153.7 kB / 1.056 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.361, allocations: 43.47 kB / 1.056 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.3613, allocations: 188.5 kB / 1.056 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3614, allocations: 3.984 kB / 1.056 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3614, allocations: 4 kB / 1.056 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3614, allocations: 0 / 1.056 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007786/0.3622, allocations: 0.6263 MB / 1.056 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3622, allocations: 0 / 1.056 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3623, allocations: 27.92 kB / 1.056 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3623, allocations: 4 kB / 1.056 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3623, allocations: 8.125 kB / 1.056 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3623, allocations: 4 kB / 1.056 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3624, allocations: 4 kB / 1.056 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.3627, allocations: 301.5 kB / 1.057 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3628, allocations: 132.6 kB / 1.057 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.3629, allocations: 0 / 1.057 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3631, allocations: 15.98 kB / 1.057 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.3631, allocations: 11.92 kB / 1.057 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3632, allocations: 4 kB / 1.057 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003821/0.3636, allocations: 323.1 kB / 1.057 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3636, allocations: 4 kB / 1.057 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000456/0.364, allocations: 111.8 kB / 1.057 GB, free: 2.109 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.0005425/0.3646, allocations: 214.2 kB / 1.058 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000276/0.3649, allocations: 139.8 kB / 1.058 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3649, allocations: 480 / 1.058 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.365, allocations: 59.91 kB / 1.058 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.3659, allocations: 181.5 kB / 1.058 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.3671, allocations: 0.6581 MB / 1.059 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.3675, allocations: 0.8035 MB / 1.059 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.3678, allocations: 74.8 kB / 1.059 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.3678, allocations: 27.44 kB / 1.059 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3678, allocations: 0 / 1.059 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.01298/0.3808, allocations: 7.15 MB / 1.066 GB, free: 8.902 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 cvode -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