Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floConDp.dp_actual|floConDpSystem.dp_actual|floConDp.m_flow|floConDpSystem.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floConDp.dp_actual|floConDpSystem.dp_actual|floConDp.m_flow|floConDpSystem.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 192.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008966/0.0008962, allocations: 95.33 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 9.844 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2219, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.739/5.961, allocations: 2.236 GB / 3.136 GB, free: 222 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/5.962, allocations: 97.53 kB / 3.136 GB, free: 222 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11.13/17.09, allocations: 3.032 GB / 6.169 GB, free: 68.62 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.124e-06/17.09, allocations: 3.938 kB / 6.169 GB, free: 68.61 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0007449/17.09, allocations: 119.8 kB / 6.169 GB, free: 68.59 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 719 * Number of variables: 719 Notification: Performance of Generate backend data structure: time 0.02153/17.11, allocations: 5.974 MB / 6.175 GB, free: 65.69 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/17.11, allocations: 6.75 kB / 6.175 GB, free: 65.69 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/17.12, allocations: 1.439 MB / 6.176 GB, free: 65.39 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/17.14, allocations: 4.523 MB / 6.18 GB, free: 64.38 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/17.14, allocations: 237.6 kB / 6.181 GB, free: 64.37 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/17.14, allocations: 314.5 kB / 6.181 GB, free: 64.33 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006364/17.14, allocations: 3.372 MB / 6.184 GB, free: 62.86 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/17.14, allocations: 3.938 kB / 6.184 GB, free: 62.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/17.14, allocations: 129.1 kB / 6.184 GB, free: 62.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.239e-05/17.14, allocations: 109.8 kB / 6.185 GB, free: 62.74 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005031/17.15, allocations: 2.735 MB / 6.187 GB, free: 61.33 MB / 0.9948 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.02401/17.17, allocations: 15.05 MB / 6.202 GB, free: 47.53 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/17.18, allocations: 1.882 MB / 6.204 GB, free: 45.65 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/17.18, allocations: 240.1 kB / 6.204 GB, free: 45.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/17.18, allocations: 60.73 kB / 6.204 GB, free: 45.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003342/17.18, allocations: 0.5914 MB / 6.205 GB, free: 44.72 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=191): time 6.683e-06/17.18, allocations: 0 / 6.205 GB, free: 44.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=199): time 0.01683/17.2, allocations: 7.059 MB / 6.211 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/17.2, allocations: 81.28 kB / 6.212 GB, free: 37.42 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006299/17.2, allocations: 3.336 MB / 6.215 GB, free: 34.08 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007262/17.2, allocations: 77.7 kB / 6.215 GB, free: 34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001374/17.21, allocations: 2.012 MB / 6.217 GB, free: 31.97 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007423/17.21, allocations: 0.6814 MB / 6.218 GB, free: 31.28 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/17.21, allocations: 48 kB / 6.218 GB, free: 31.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001181/17.21, allocations: 394.5 kB / 6.218 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/17.21, allocations: 0.8867 MB / 6.219 GB, free: 29.95 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/17.21, allocations: 1.86 MB / 6.221 GB, free: 27.66 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02558/17.24, allocations: 7.576 MB / 6.228 GB, free: 20.03 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/17.24, allocations: 4 kB / 6.228 GB, free: 20.03 MB / 0.9948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006607/17.24, allocations: 3.175 MB / 6.231 GB, free: 16.83 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00151/17.24, allocations: 7.808 MB / 6.239 GB, free: 8.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/17.24, allocations: 16 kB / 6.239 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008263/17.25, allocations: 295.3 kB / 6.239 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/17.25, allocations: 0.507 MB / 6.24 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/17.25, allocations: 4.643 MB / 6.244 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006362/17.26, allocations: 351.8 kB / 6.244 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005392/17.26, allocations: 120 kB / 6.245 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/17.26, allocations: 8 kB / 6.245 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005148/17.26, allocations: 2.686 MB / 6.247 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/17.26, allocations: 16 kB / 6.247 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009827/17.26, allocations: 292.3 kB / 6.247 GB, free: 15.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/17.27, allocations: 0.4953 MB / 6.248 GB, free: 14.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/17.27, allocations: 7.818 MB / 6.256 GB, free: 6.141 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00658/17.28, allocations: 347.9 kB / 6.256 GB, free: 5.801 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006988/17.28, allocations: 115.9 kB / 6.256 GB, free: 5.688 MB / 1.01 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003485/17.29, allocations: 0.9815 MB / 6.257 GB, free: 4.695 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/17.29, allocations: 422.8 kB / 6.257 GB, free: 4.277 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00686/17.29, allocations: 2.812 MB / 6.26 GB, free: 1.434 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/17.29, allocations: 20 kB / 6.26 GB, free: 1.414 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/17.29, allocations: 0 / 6.26 GB, free: 1.414 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.8209/18.11, allocations: 2.318 MB / 6.262 GB, free: 95.02 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.01853/18.13, allocations: 6.683 MB / 6.269 GB, free: 94.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/18.13, allocations: 13.03 kB / 6.269 GB, free: 94.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/18.14, allocations: 432.9 kB / 6.269 GB, free: 94.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008949/18.14, allocations: 270.2 kB / 6.27 GB, free: 94.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/18.14, allocations: 62.83 kB / 6.27 GB, free: 94.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/18.14, allocations: 4.619 MB / 6.274 GB, free: 90.19 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-05/18.14, allocations: 14.89 kB / 6.274 GB, free: 90.19 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/18.15, allocations: 5.451 MB / 6.28 GB, free: 88.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/18.15, allocations: 0.7622 MB / 6.28 GB, free: 87.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009585/18.16, allocations: 53.75 kB / 6.28 GB, free: 87.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003917/18.16, allocations: 291.8 kB / 6.281 GB, free: 87.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/18.16, allocations: 157.3 kB / 6.281 GB, free: 87.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/18.16, allocations: 103.8 kB / 6.281 GB, free: 87.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.005465/18.17, allocations: 2.599 MB / 6.283 GB, free: 87.75 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.4e-07/18.17, allocations: 0 / 6.283 GB, free: 87.75 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01295/18.18, allocations: 2.517 MB / 6.286 GB, free: 87.75 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.dynBal.mXi[1]) * 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 (189): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01267/18.19, allocations: 8.021 MB / 6.294 GB, free: 83.76 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009188/18.2, allocations: 4.526 MB / 6.298 GB, free: 82.94 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-05/18.2, allocations: 4.625 kB / 6.298 GB, free: 82.94 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002716/18.2, allocations: 1.402 MB / 6.299 GB, free: 82.71 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01282/18.22, allocations: 2.273 MB / 6.302 GB, free: 82.65 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/18.23, allocations: 8.923 MB / 6.31 GB, free: 78.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/18.23, allocations: 2.628 MB / 6.313 GB, free: 77.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.007094/18.24, allocations: 1.105 MB / 6.314 GB, free: 77.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/18.24, allocations: 328.2 kB / 6.314 GB, free: 77.91 MB / 1.01 GB Notification: Performance of SimCode: time 1.423e-06/18.24, allocations: 3.031 kB / 6.314 GB, free: 77.91 MB / 1.01 GB Notification: Performance of Templates: time 0.2314/18.47, allocations: 145.1 MB / 6.456 GB, free: 70.33 MB / 1.01 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_FlowControlled_dpSystem.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches