Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001044/0.001044, allocations: 180.9 kB / 321.3 MB, free: 14.64 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.711/1.711, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0008757/0.0008759, allocations: 86.48 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.473e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2225, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.814/6.036, allocations: 2.231 GB / 3.123 GB, free: 96.61 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/6.037, allocations: 99.55 kB / 3.123 GB, free: 96.56 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.162/12.2, allocations: 1.598 GB / 4.722 GB, free: 105 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.755e-06/12.2, allocations: 0 / 4.722 GB, free: 105 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005177/12.2, allocations: 69.34 kB / 4.722 GB, free: 105 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.01022/12.21, allocations: 2.502 MB / 4.724 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/12.21, allocations: 12.53 kB / 4.724 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/12.22, allocations: 0.805 MB / 4.725 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009294/12.23, allocations: 2.649 MB / 4.728 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/12.23, allocations: 118.4 kB / 4.728 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007136/12.23, allocations: 154.1 kB / 4.728 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004464/12.23, allocations: 1.519 MB / 4.729 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/12.23, allocations: 3.469 kB / 4.729 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/12.23, allocations: 57.19 kB / 4.729 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/12.23, allocations: 48.31 kB / 4.729 GB, free: 103 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/12.23, allocations: 1.153 MB / 4.731 GB, free: 103 MB / 0.9167 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.01034/12.24, allocations: 7.416 MB / 4.738 GB, free: 99.28 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/12.24, allocations: 0.9437 MB / 4.739 GB, free: 99.05 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/12.25, allocations: 420.7 kB / 4.739 GB, free: 99.04 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/12.25, allocations: 108.2 kB / 4.739 GB, free: 98.95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/12.25, allocations: 41.88 kB / 4.739 GB, free: 98.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001313/12.25, allocations: 228 kB / 4.74 GB, free: 98.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/12.25, allocations: 3.844 kB / 4.74 GB, free: 98.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.002189/12.25, allocations: 0.9698 MB / 4.74 GB, free: 98.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/12.25, allocations: 61.22 kB / 4.741 GB, free: 98.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/12.25, allocations: 1.5 MB / 4.742 GB, free: 98.41 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.435e-05/12.25, allocations: 49.73 kB / 4.742 GB, free: 98.38 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000677/12.25, allocations: 0.9721 MB / 4.743 GB, free: 98.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/12.25, allocations: 274.9 kB / 4.743 GB, free: 97.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/12.25, allocations: 18.22 kB / 4.743 GB, free: 97.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/12.25, allocations: 351.2 kB / 4.744 GB, free: 97.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/12.25, allocations: 331.4 kB / 4.744 GB, free: 97.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/12.25, allocations: 0.7489 MB / 4.745 GB, free: 97.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/12.25, allocations: 451.2 kB / 4.745 GB, free: 97.06 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/12.25, allocations: 0 / 4.745 GB, free: 97.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00235/12.26, allocations: 1.298 MB / 4.746 GB, free: 96.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009828/12.26, allocations: 3.962 MB / 4.75 GB, free: 92.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/12.26, allocations: 12.33 kB / 4.75 GB, free: 92.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/12.26, allocations: 112.5 kB / 4.75 GB, free: 92.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/12.26, allocations: 255.5 kB / 4.751 GB, free: 92.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/12.26, allocations: 2.322 MB / 4.753 GB, free: 90.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/12.26, allocations: 144.7 kB / 4.753 GB, free: 90.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/12.26, allocations: 61.59 kB / 4.753 GB, free: 90.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/12.26, allocations: 4.969 kB / 4.753 GB, free: 90.95 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/12.27, allocations: 1.062 MB / 4.754 GB, free: 90.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/12.27, allocations: 11.22 kB / 4.754 GB, free: 90.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/12.27, allocations: 110.6 kB / 4.754 GB, free: 90.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/12.27, allocations: 240.8 kB / 4.754 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/12.27, allocations: 1.778 MB / 4.756 GB, free: 89.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/12.27, allocations: 134.9 kB / 4.756 GB, free: 89.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/12.27, allocations: 53 kB / 4.756 GB, free: 89.63 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003378/12.27, allocations: 175.5 kB / 4.757 GB, free: 89.52 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/12.27, allocations: 193.5 kB / 4.757 GB, free: 89.42 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/12.27, allocations: 1.06 MB / 4.758 GB, free: 89.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/12.27, allocations: 6.75 kB / 4.758 GB, free: 89.32 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/12.27, allocations: 0 / 4.758 GB, free: 89.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001537/12.28, allocations: 0.8721 MB / 4.759 GB, free: 89.13 MB / 0.9167 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.005304/12.28, allocations: 2.839 MB / 4.761 GB, free: 88.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/12.28, allocations: 3.562 kB / 4.761 GB, free: 88.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008924/12.28, allocations: 191.5 kB / 4.762 GB, free: 88.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/12.28, allocations: 94.91 kB / 4.762 GB, free: 88.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/12.28, allocations: 20.38 kB / 4.762 GB, free: 88.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/12.28, allocations: 2.215 MB / 4.764 GB, free: 86.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/12.28, allocations: 7.141 kB / 4.764 GB, free: 86.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/12.29, allocations: 1.616 MB / 4.765 GB, free: 86.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/12.29, allocations: 348.7 kB / 4.766 GB, free: 85.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/12.29, allocations: 21.77 kB / 4.766 GB, free: 85.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/12.29, allocations: 133.7 kB / 4.766 GB, free: 85.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/12.29, allocations: 55.41 kB / 4.766 GB, free: 85.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/12.29, allocations: 33.69 kB / 4.766 GB, free: 85.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001787/12.29, allocations: 1.162 MB / 4.767 GB, free: 85.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/12.29, allocations: 0 / 4.767 GB, free: 85.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005136/12.3, allocations: 1.362 MB / 4.768 GB, free: 85.67 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006698/12.3, allocations: 4.182 MB / 4.773 GB, free: 83.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003623/12.31, allocations: 1.698 MB / 4.774 GB, free: 83.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/12.31, allocations: 10.62 kB / 4.774 GB, free: 83.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007957/12.31, allocations: 0.5016 MB / 4.775 GB, free: 83.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/12.31, allocations: 1.001 MB / 4.776 GB, free: 83.42 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006319/12.32, allocations: 2.691 MB / 4.778 GB, free: 82.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/12.32, allocations: 1.619 MB / 4.78 GB, free: 81.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003905/12.32, allocations: 0.7255 MB / 4.781 GB, free: 81.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/12.32, allocations: 123.6 kB / 4.781 GB, free: 81.88 MB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/12.32, allocations: 3.562 kB / 4.781 GB, free: 81.88 MB / 0.9167 GB Notification: Performance of Templates: time 0.1214/12.45, allocations: 88.23 MB / 4.867 GB, free: 33.16 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches