Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 387.1 MB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 180 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.3 MB / 0.7872 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008896, allocations: 97.03 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.16e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2987, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.468/5.767, allocations: 1.95 GB / 3.163 GB, free: 320.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/5.767, allocations: 89.69 kB / 3.163 GB, free: 320.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 12.75/18.51, allocations: 3.168 GB / 6.331 GB, free: 133.5 MB / 1.276 GB Notification: Performance of FrontEnd: time 3.707e-06/18.51, allocations: 0 / 6.331 GB, free: 133.5 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.001282/18.51, allocations: 126.2 kB / 6.331 GB, free: 133.5 MB / 1.276 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 711 * Number of variables: 711 Notification: Performance of Generate backend data structure: time 0.02117/18.54, allocations: 4.659 MB / 6.336 GB, free: 131.8 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/18.54, allocations: 9.125 kB / 6.336 GB, free: 131.8 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/18.55, allocations: 1.646 MB / 6.338 GB, free: 131.6 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/18.57, allocations: 4.561 MB / 6.342 GB, free: 131 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/18.57, allocations: 240.2 kB / 6.342 GB, free: 131 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/18.57, allocations: 310.5 kB / 6.343 GB, free: 131 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009013/18.58, allocations: 3.239 MB / 6.346 GB, free: 130.6 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.588e-05/18.58, allocations: 4.859 kB / 6.346 GB, free: 130.6 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/18.58, allocations: 126.2 kB / 6.346 GB, free: 130.6 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/18.58, allocations: 106.8 kB / 6.346 GB, free: 130.6 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005313/18.58, allocations: 2.562 MB / 6.348 GB, free: 130.5 MB / 1.276 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.03083/18.62, allocations: 15.18 MB / 6.363 GB, free: 123.7 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/18.62, allocations: 1.831 MB / 6.365 GB, free: 123.7 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/18.62, allocations: 1.068 MB / 6.366 GB, free: 123.7 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004505/18.62, allocations: 236.9 kB / 6.366 GB, free: 123.5 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/18.62, allocations: 55.84 kB / 6.366 GB, free: 123.4 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00394/18.62, allocations: 0.5876 MB / 6.367 GB, free: 123.3 MB / 1.276 GB Notification: Performance of pre-optimization done (n=191): time 1.072e-05/18.62, allocations: 1.156 kB / 6.367 GB, free: 123.3 MB / 1.276 GB Notification: Performance of matching and sorting (n=199): time 0.01464/18.64, allocations: 5.351 MB / 6.372 GB, free: 122.1 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/18.64, allocations: 74.16 kB / 6.372 GB, free: 122.1 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008891/18.65, allocations: 3.275 MB / 6.375 GB, free: 121.8 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0008399/18.65, allocations: 79.42 kB / 6.376 GB, free: 121.7 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.002384/18.65, allocations: 2.009 MB / 6.377 GB, free: 121.2 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/18.65, allocations: 0.6773 MB / 6.378 GB, free: 120.8 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/18.65, allocations: 48.09 kB / 6.378 GB, free: 120.8 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0002315/18.65, allocations: 392.1 kB / 6.379 GB, free: 120.4 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/18.66, allocations: 0.8199 MB / 6.379 GB, free: 120.4 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/18.66, allocations: 1.745 MB / 6.381 GB, free: 119.4 MB / 1.276 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.02469/18.68, allocations: 7.287 MB / 6.388 GB, free: 118.9 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.059e-05/18.68, allocations: 3.781 kB / 6.388 GB, free: 118.9 MB / 1.276 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006821/18.69, allocations: 3.022 MB / 6.391 GB, free: 118.6 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.00229/18.69, allocations: 7.831 MB / 6.399 GB, free: 110.4 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.808e-05/18.69, allocations: 19.53 kB / 6.399 GB, free: 110.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000965/18.69, allocations: 293.6 kB / 6.399 GB, free: 110.3 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/18.7, allocations: 0.5239 MB / 6.4 GB, free: 110.3 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/18.7, allocations: 4.67 MB / 6.404 GB, free: 106.3 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006577/18.71, allocations: 389.4 kB / 6.405 GB, free: 106.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005836/18.71, allocations: 124.9 kB / 6.405 GB, free: 106.3 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/18.71, allocations: 5.062 kB / 6.405 GB, free: 106.3 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006036/18.71, allocations: 2.562 MB / 6.407 GB, free: 106.2 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/18.71, allocations: 21.28 kB / 6.407 GB, free: 106.2 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/18.71, allocations: 306.2 kB / 6.407 GB, free: 106.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/18.72, allocations: 0.5103 MB / 6.408 GB, free: 106.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007269/18.72, allocations: 8.026 MB / 6.416 GB, free: 99.38 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006465/18.73, allocations: 381.8 kB / 6.416 GB, free: 99.35 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006898/18.73, allocations: 114.3 kB / 6.416 GB, free: 99.35 MB / 1.276 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.001427/18.73, allocations: 272.4 kB / 6.417 GB, free: 99.23 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/18.73, allocations: 421.3 kB / 6.417 GB, free: 99.01 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007264/18.74, allocations: 2.687 MB / 6.42 GB, free: 98.82 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/18.74, allocations: 20.47 kB / 6.42 GB, free: 98.82 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/18.74, allocations: 0 / 6.42 GB, free: 98.82 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003952/18.74, allocations: 2.193 MB / 6.422 GB, free: 98.48 MB / 1.276 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.01847/18.76, allocations: 6.586 MB / 6.428 GB, free: 97.62 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/18.76, allocations: 10.44 kB / 6.428 GB, free: 97.62 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/18.77, allocations: 448 kB / 6.429 GB, free: 97.62 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007579/18.77, allocations: 278.8 kB / 6.429 GB, free: 97.58 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/18.77, allocations: 65.39 kB / 6.429 GB, free: 97.58 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/18.77, allocations: 4.582 MB / 6.433 GB, free: 93.51 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/18.77, allocations: 17.81 kB / 6.433 GB, free: 93.51 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007445/18.78, allocations: 5.154 MB / 6.438 GB, free: 91.13 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004475/18.78, allocations: 0.7524 MB / 6.439 GB, free: 90.82 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003156/18.79, allocations: 48.25 kB / 6.439 GB, free: 90.82 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007226/18.79, allocations: 301.2 kB / 6.44 GB, free: 90.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008168/18.79, allocations: 162.1 kB / 6.44 GB, free: 90.79 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006123/18.79, allocations: 93.62 kB / 6.44 GB, free: 90.79 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.00788/18.8, allocations: 2.539 MB / 6.442 GB, free: 90.59 MB / 1.276 GB Notification: Performance of sort global known variables: time 4.61e-07/18.8, allocations: 0 / 6.442 GB, free: 90.59 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01412/18.82, allocations: 2.575 MB / 6.445 GB, free: 90.54 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.medium.Xi[1],zone2.dynBal.U,zone1.dynBal.medium.Xi[1],zone1.dynBal.U,zone3.dynBal.medium.Xi[1],zone3.dynBal.U,zone4.dynBal.medium.Xi[1],zone4.dynBal.U) * 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.01309/18.83, allocations: 8.041 MB / 6.453 GB, free: 86.45 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.009987/18.84, allocations: 4.48 MB / 6.457 GB, free: 85.59 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-05/18.84, allocations: 5.812 kB / 6.457 GB, free: 85.59 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.002778/18.84, allocations: 1.317 MB / 6.458 GB, free: 85.35 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01415/18.86, allocations: 2.262 MB / 6.46 GB, free: 85.29 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/18.87, allocations: 6.176 MB / 6.467 GB, free: 83.54 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/18.88, allocations: 2.632 MB / 6.469 GB, free: 82.74 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01152/18.89, allocations: 1.622 MB / 6.471 GB, free: 82.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/18.89, allocations: 243.7 kB / 6.471 GB, free: 82.69 MB / 1.276 GB Notification: Performance of SimCode: time 2.023e-06/18.89, allocations: 3.375 kB / 6.471 GB, free: 82.69 MB / 1.276 GB Notification: Performance of Templates: time 0.2523/19.14, allocations: 166.4 MB / 6.633 GB, free: 27 MB / 1.276 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_dpSystem.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches