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.591/1.591, allocations: 249.3 MB / 261.9 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008474/0.0008475, allocations: 91.56 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.599e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2209, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.614/5.835, allocations: 2.236 GB / 3.128 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/5.836, allocations: 91.95 kB / 3.128 GB, free: 130 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.8/17.64, allocations: 3.029 GB / 6.157 GB, free: 78.81 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.344e-06/17.64, allocations: 3.188 kB / 6.157 GB, free: 78.81 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0009309/17.64, allocations: 126.3 kB / 6.157 GB, free: 78.79 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.01874/17.66, allocations: 4.659 MB / 6.162 GB, free: 77.07 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/17.66, allocations: 8.312 kB / 6.162 GB, free: 77.07 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/17.67, allocations: 1.451 MB / 6.163 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/17.69, allocations: 4.447 MB / 6.168 GB, free: 76.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/17.69, allocations: 238.3 kB / 6.168 GB, free: 76.01 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/17.69, allocations: 325.7 kB / 6.168 GB, free: 76 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/17.7, allocations: 3.241 MB / 6.171 GB, free: 75.62 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002438/17.7, allocations: 6.625 kB / 6.171 GB, free: 75.62 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001315/17.71, allocations: 128 kB / 6.172 GB, free: 75.62 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/17.71, allocations: 96.94 kB / 6.172 GB, free: 75.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007505/17.71, allocations: 2.535 MB / 6.174 GB, free: 75.58 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.03416/17.75, allocations: 15.05 MB / 6.189 GB, free: 68.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/17.75, allocations: 1.754 MB / 6.191 GB, free: 68.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/17.75, allocations: 1.047 MB / 6.192 GB, free: 68.73 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/17.75, allocations: 235.4 kB / 6.192 GB, free: 68.54 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/17.75, allocations: 59.14 kB / 6.192 GB, free: 68.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004423/17.76, allocations: 0.5872 MB / 6.192 GB, free: 68.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=191): time 1.782e-05/17.76, allocations: 2.594 kB / 6.192 GB, free: 68.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=199): time 0.01695/17.77, allocations: 5.267 MB / 6.198 GB, free: 67.19 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/17.77, allocations: 73.59 kB / 6.198 GB, free: 67.13 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009917/17.78, allocations: 3.265 MB / 6.201 GB, free: 66.81 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009428/17.79, allocations: 79.08 kB / 6.201 GB, free: 66.78 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002573/17.79, allocations: 2.005 MB / 6.203 GB, free: 66.25 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001245/17.79, allocations: 0.6788 MB / 6.204 GB, free: 65.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004942/17.79, allocations: 45.44 kB / 6.204 GB, free: 65.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002619/17.79, allocations: 395 kB / 6.204 GB, free: 65.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/17.79, allocations: 0.7941 MB / 6.205 GB, free: 65.49 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/17.8, allocations: 1.773 MB / 6.206 GB, free: 64.37 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.02596/17.82, allocations: 7.107 MB / 6.213 GB, free: 63.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.33e-05/17.82, allocations: 10.67 kB / 6.213 GB, free: 63.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.00818/17.83, allocations: 2.975 MB / 6.216 GB, free: 63.56 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002053/17.83, allocations: 7.812 MB / 6.224 GB, free: 55.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.456e-05/17.83, allocations: 19.47 kB / 6.224 GB, free: 55.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000903/17.83, allocations: 280.5 kB / 6.224 GB, free: 55.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/17.84, allocations: 0.5165 MB / 6.225 GB, free: 55.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/17.84, allocations: 4.617 MB / 6.229 GB, free: 51.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006114/17.84, allocations: 350.7 kB / 6.23 GB, free: 51.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006573/17.85, allocations: 129 kB / 6.23 GB, free: 51.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/17.85, allocations: 4.719 kB / 6.23 GB, free: 51.27 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005832/17.85, allocations: 2.518 MB / 6.232 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.11e-05/17.85, allocations: 16.72 kB / 6.232 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009373/17.85, allocations: 285.7 kB / 6.232 GB, free: 51.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/17.85, allocations: 0.4982 MB / 6.233 GB, free: 51.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006103/17.86, allocations: 7.741 MB / 6.241 GB, free: 44.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006403/17.87, allocations: 347.3 kB / 6.241 GB, free: 44.47 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009241/17.87, allocations: 111.6 kB / 6.241 GB, free: 44.47 MB / 0.9948 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 () * 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.001766/17.87, allocations: 269.7 kB / 6.241 GB, free: 44.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001999/17.87, allocations: 426.5 kB / 6.242 GB, free: 44.13 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007112/17.88, allocations: 2.643 MB / 6.244 GB, free: 43.94 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/17.88, allocations: 23.12 kB / 6.244 GB, free: 43.94 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/17.88, allocations: 2.469 kB / 6.244 GB, free: 43.94 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00362/17.88, allocations: 2.153 MB / 6.246 GB, free: 43.59 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.0202/17.9, allocations: 6.514 MB / 6.253 GB, free: 42.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/17.9, allocations: 11.5 kB / 6.253 GB, free: 42.74 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/17.91, allocations: 438.2 kB / 6.253 GB, free: 42.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008466/17.91, allocations: 267.1 kB / 6.253 GB, free: 42.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003154/17.91, allocations: 66.72 kB / 6.253 GB, free: 42.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/17.91, allocations: 4.582 MB / 6.258 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/17.91, allocations: 19.73 kB / 6.258 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008949/17.92, allocations: 5.189 MB / 6.263 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003766/17.92, allocations: 0.7615 MB / 6.264 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/17.93, allocations: 48.86 kB / 6.264 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005703/17.93, allocations: 290 kB / 6.264 GB, free: 35.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/17.93, allocations: 165.3 kB / 6.264 GB, free: 35.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003704/17.93, allocations: 97.95 kB / 6.264 GB, free: 35.91 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.007644/17.94, allocations: 2.525 MB / 6.267 GB, free: 35.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.71e-07/17.94, allocations: 0 / 6.267 GB, free: 35.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01555/17.96, allocations: 2.531 MB / 6.269 GB, free: 35.65 MB / 0.9948 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 () * 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.01401/17.97, allocations: 8.024 MB / 6.277 GB, free: 31.54 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01038/17.98, allocations: 4.41 MB / 6.281 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/17.98, allocations: 5.438 kB / 6.281 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/17.98, allocations: 1.307 MB / 6.283 GB, free: 30.45 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01431/18, allocations: 2.26 MB / 6.285 GB, free: 30.36 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/18.01, allocations: 6.114 MB / 6.291 GB, free: 28.61 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004207/18.02, allocations: 2.634 MB / 6.293 GB, free: 27.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0109/18.03, allocations: 1.599 MB / 6.295 GB, free: 27.76 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/18.03, allocations: 249 kB / 6.295 GB, free: 27.75 MB / 0.9948 GB Notification: Performance of SimCode: time 2.585e-06/18.03, allocations: 2.406 kB / 6.295 GB, free: 27.75 MB / 0.9948 GB Notification: Performance of Templates: time 1.129/19.16, allocations: 166.5 MB / 6.458 GB, free: 126 MB / 1.042 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