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.065/2.065, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001059/0.001059, allocations: 192.6 kB / 487.4 MB, free: 5.031 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.34/1.34, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009119, allocations: 93.64 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.463e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2516, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.264/4.516, allocations: 1.95 GB / 3.156 GB, free: 340.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/4.516, allocations: 85.39 kB / 3.156 GB, free: 340.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 10.74/15.25, allocations: 3.135 GB / 6.291 GB, free: 122.6 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.335e-06/15.25, allocations: 1.312 kB / 6.291 GB, free: 122.6 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0008216/15.25, allocations: 123.8 kB / 6.291 GB, free: 122.6 MB / 1.26 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.01506/15.27, allocations: 4.666 MB / 6.295 GB, free: 121.1 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/15.27, allocations: 6.844 kB / 6.295 GB, free: 121.1 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/15.28, allocations: 1.643 MB / 6.297 GB, free: 120.8 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/15.29, allocations: 4.567 MB / 6.302 GB, free: 120.2 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/15.29, allocations: 92.81 kB / 6.302 GB, free: 120.2 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/15.3, allocations: 185.7 kB / 6.302 GB, free: 120.2 MB / 1.26 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00758/15.3, allocations: 2.453 MB / 6.304 GB, free: 120.2 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006649/15.31, allocations: 2.842 MB / 6.307 GB, free: 119.8 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.651e-05/15.31, allocations: 3.156 kB / 6.307 GB, free: 119.8 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/15.31, allocations: 7.188 kB / 6.307 GB, free: 119.8 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.154e-05/15.31, allocations: 103.7 kB / 6.307 GB, free: 119.8 MB / 1.26 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.02086/15.33, allocations: 14.59 MB / 6.321 GB, free: 113.3 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/15.33, allocations: 1.826 MB / 6.323 GB, free: 113.2 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/15.34, allocations: 1.035 MB / 6.324 GB, free: 113.2 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/15.34, allocations: 237.9 kB / 6.324 GB, free: 113 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/15.34, allocations: 58.5 kB / 6.324 GB, free: 113 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003083/15.34, allocations: 0.5102 MB / 6.325 GB, free: 112.9 MB / 1.26 GB Notification: Performance of pre-optimization done (n=191): time 4.739e-06/15.34, allocations: 0 / 6.325 GB, free: 112.9 MB / 1.26 GB Notification: Performance of matching and sorting (n=199): time 0.01244/15.35, allocations: 5.387 MB / 6.33 GB, free: 111.7 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/15.35, allocations: 72.06 kB / 6.33 GB, free: 111.7 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/15.36, allocations: 2.79 MB / 6.333 GB, free: 111.4 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0003349/15.36, allocations: 35.08 kB / 6.333 GB, free: 111.4 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/15.36, allocations: 1.966 MB / 6.335 GB, free: 110.8 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/15.36, allocations: 0.6568 MB / 6.336 GB, free: 110.3 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/15.36, allocations: 3.75 kB / 6.336 GB, free: 110.3 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0001099/15.36, allocations: 397.4 kB / 6.336 GB, free: 110 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/15.36, allocations: 0.8028 MB / 6.337 GB, free: 110 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/15.36, allocations: 1.712 MB / 6.338 GB, free: 108.9 MB / 1.26 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.01831/15.38, allocations: 7.015 MB / 6.345 GB, free: 108.5 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/15.38, allocations: 7.25 kB / 6.345 GB, free: 108.5 MB / 1.26 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005828/15.38, allocations: 2.949 MB / 6.348 GB, free: 108.1 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001709/15.39, allocations: 7.702 MB / 6.356 GB, free: 100.3 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/15.39, allocations: 15.5 kB / 6.356 GB, free: 100.3 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007079/15.39, allocations: 258.3 kB / 6.356 GB, free: 100.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/15.39, allocations: 0.5314 MB / 6.356 GB, free: 100.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/15.39, allocations: 4.607 MB / 6.361 GB, free: 96.29 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00618/15.4, allocations: 328.4 kB / 6.361 GB, free: 96.26 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/15.4, allocations: 125.9 kB / 6.361 GB, free: 96.26 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/15.4, allocations: 14.48 kB / 6.361 GB, free: 96.26 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004295/15.4, allocations: 2.356 MB / 6.364 GB, free: 96.16 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/15.4, allocations: 16.72 kB / 6.364 GB, free: 96.16 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008285/15.4, allocations: 283.2 kB / 6.364 GB, free: 96.12 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/15.41, allocations: 0.5123 MB / 6.364 GB, free: 96.12 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005277/15.41, allocations: 7.733 MB / 6.372 GB, free: 89.69 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004979/15.42, allocations: 321.7 kB / 6.372 GB, free: 89.66 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/15.42, allocations: 114 kB / 6.372 GB, free: 89.66 MB / 1.26 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.0007057/15.42, allocations: 185.4 kB / 6.373 GB, free: 89.55 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007422/15.42, allocations: 400.3 kB / 6.373 GB, free: 89.34 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/15.42, allocations: 2.542 MB / 6.375 GB, free: 89.15 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/15.42, allocations: 19.94 kB / 6.375 GB, free: 89.15 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/15.42, allocations: 0.7188 kB / 6.375 GB, free: 89.15 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002883/15.43, allocations: 2.13 MB / 6.378 GB, free: 88.8 MB / 1.26 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.01008/15.44, allocations: 6.135 MB / 6.384 GB, free: 88.01 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/15.44, allocations: 11.69 kB / 6.384 GB, free: 88.01 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/15.44, allocations: 447 kB / 6.384 GB, free: 88.01 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/15.44, allocations: 234.8 kB / 6.384 GB, free: 87.97 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/15.44, allocations: 42.45 kB / 6.384 GB, free: 87.97 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/15.44, allocations: 4.482 MB / 6.389 GB, free: 84.02 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/15.44, allocations: 13.28 kB / 6.389 GB, free: 84.02 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005603/15.45, allocations: 4.823 MB / 6.393 GB, free: 81.8 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/15.45, allocations: 0.7156 MB / 6.394 GB, free: 81.51 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005645/15.45, allocations: 20.67 kB / 6.394 GB, free: 81.51 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/15.45, allocations: 260.8 kB / 6.394 GB, free: 81.48 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/15.45, allocations: 162 kB / 6.394 GB, free: 81.48 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/15.45, allocations: 94.08 kB / 6.395 GB, free: 81.48 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.002916/15.46, allocations: 2.108 MB / 6.397 GB, free: 81.3 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.5e-07/15.46, allocations: 0 / 6.397 GB, free: 81.3 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.008018/15.46, allocations: 2.264 MB / 6.399 GB, free: 81.25 MB / 1.26 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.009486/15.47, allocations: 8.324 MB / 6.407 GB, free: 77.23 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.006349/15.48, allocations: 4.263 MB / 6.411 GB, free: 76.42 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/15.48, allocations: 4.094 kB / 6.411 GB, free: 76.42 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/15.48, allocations: 1.256 MB / 6.412 GB, free: 76.21 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00916/15.49, allocations: 1.936 MB / 6.414 GB, free: 76.16 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009666/15.5, allocations: 5.986 MB / 6.42 GB, free: 74.41 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/15.5, allocations: 2.629 MB / 6.423 GB, free: 73.61 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.006413/15.51, allocations: 1.487 MB / 6.424 GB, free: 73.57 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/15.51, allocations: 245 kB / 6.424 GB, free: 73.56 MB / 1.26 GB Notification: Performance of SimCode: time 7.62e-07/15.51, allocations: 1.562 kB / 6.424 GB, free: 73.56 MB / 1.26 GB Notification: Performance of Templates: time 0.1469/15.66, allocations: 108.6 MB / 6.53 GB, free: 66.48 MB / 1.26 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