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.497/1.497, allocations: 249.5 MB / 257 MB, free: 6.863 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.001347/0.001347, allocations: 180.9 kB / 316.3 MB, free: 3.254 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.872/1.872, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008626/0.0008627, allocations: 94.27 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.583e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.298/6.53, allocations: 2.232 GB / 3.117 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/6.53, allocations: 95.09 kB / 3.117 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.124/12.65, allocations: 1.58 GB / 4.697 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.887e-06/12.65, allocations: 0 / 4.697 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004727/12.65, allocations: 62.56 kB / 4.697 GB, free: 103.6 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.008924/12.66, allocations: 2.508 MB / 4.7 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/12.66, allocations: 7.094 kB / 4.7 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006281/12.67, allocations: 0.8054 MB / 4.7 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008505/12.68, allocations: 2.644 MB / 4.703 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/12.68, allocations: 41.5 kB / 4.703 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005095/12.68, allocations: 90.59 kB / 4.703 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002798/12.68, allocations: 1.122 MB / 4.704 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004149/12.69, allocations: 1.332 MB / 4.705 GB, free: 102 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.574e-05/12.69, allocations: 10.12 kB / 4.705 GB, free: 102 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/12.69, allocations: 3.953 kB / 4.705 GB, free: 102 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/12.69, allocations: 48.31 kB / 4.706 GB, free: 102 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.01242/12.7, allocations: 7.14 MB / 4.712 GB, free: 98.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/12.7, allocations: 0.9801 MB / 4.713 GB, free: 98.16 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/12.7, allocations: 419.6 kB / 4.714 GB, free: 98.15 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/12.7, allocations: 113.5 kB / 4.714 GB, free: 98.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/12.7, allocations: 49.91 kB / 4.714 GB, free: 98.02 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001366/12.7, allocations: 196.7 kB / 4.714 GB, free: 98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 4.448e-06/12.7, allocations: 3.062 kB / 4.714 GB, free: 98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.002818/12.7, allocations: 1.011 MB / 4.715 GB, free: 97.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/12.7, allocations: 62.47 kB / 4.715 GB, free: 97.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/12.71, allocations: 1.285 MB / 4.716 GB, free: 97.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/12.71, allocations: 25.7 kB / 4.717 GB, free: 97.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007683/12.71, allocations: 0.9777 MB / 4.717 GB, free: 97.29 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/12.71, allocations: 268 kB / 4.718 GB, free: 97.15 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/12.71, allocations: 0 / 4.718 GB, free: 97.15 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.517e-05/12.71, allocations: 342.9 kB / 4.718 GB, free: 96.85 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/12.71, allocations: 334.9 kB / 4.718 GB, free: 96.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/12.71, allocations: 0.747 MB / 4.719 GB, free: 96.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/12.71, allocations: 499.2 kB / 4.72 GB, free: 96.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/12.71, allocations: 3.625 kB / 4.72 GB, free: 96.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002762/12.71, allocations: 1.287 MB / 4.721 GB, free: 96.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009207/12.71, allocations: 3.936 MB / 4.725 GB, free: 92.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/12.71, allocations: 8.25 kB / 4.725 GB, free: 92.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/12.71, allocations: 113.2 kB / 4.725 GB, free: 92.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/12.72, allocations: 255.9 kB / 4.725 GB, free: 92.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/12.72, allocations: 2.23 MB / 4.727 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/12.72, allocations: 115.9 kB / 4.727 GB, free: 90.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/12.72, allocations: 55.12 kB / 4.727 GB, free: 90.29 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/12.72, allocations: 5.219 kB / 4.727 GB, free: 90.29 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002658/12.72, allocations: 0.9923 MB / 4.728 GB, free: 90.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/12.72, allocations: 9.844 kB / 4.728 GB, free: 90.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/12.72, allocations: 110 kB / 4.728 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/12.72, allocations: 233.2 kB / 4.729 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/12.73, allocations: 1.632 MB / 4.73 GB, free: 89.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/12.73, allocations: 110.8 kB / 4.73 GB, free: 89.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/12.73, allocations: 54.81 kB / 4.73 GB, free: 89.05 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0005588/12.73, allocations: 142.8 kB / 4.731 GB, free: 88.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/12.73, allocations: 192.5 kB / 4.731 GB, free: 88.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/12.74, allocations: 1.007 MB / 4.732 GB, free: 88.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/12.74, allocations: 9.188 kB / 4.732 GB, free: 88.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/12.74, allocations: 0 / 4.732 GB, free: 88.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/12.74, allocations: 0.8727 MB / 4.733 GB, free: 88.57 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.007086/12.74, allocations: 2.669 MB / 4.735 GB, free: 87.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/12.74, allocations: 0 / 4.735 GB, free: 87.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009637/12.75, allocations: 196.2 kB / 4.735 GB, free: 87.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/12.75, allocations: 82.66 kB / 4.735 GB, free: 87.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/12.75, allocations: 20.11 kB / 4.736 GB, free: 87.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/12.75, allocations: 2.165 MB / 4.738 GB, free: 86.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/12.75, allocations: 0 / 4.738 GB, free: 86.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/12.75, allocations: 1.581 MB / 4.739 GB, free: 85.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/12.75, allocations: 344.2 kB / 4.739 GB, free: 85.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006026/12.75, allocations: 3.625 kB / 4.739 GB, free: 85.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/12.75, allocations: 120.9 kB / 4.74 GB, free: 85.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/12.75, allocations: 51.23 kB / 4.74 GB, free: 85.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/12.75, allocations: 33.94 kB / 4.74 GB, free: 85.53 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00234/12.76, allocations: 0.973 MB / 4.741 GB, free: 85.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.01e-07/12.76, allocations: 0 / 4.741 GB, free: 85.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006118/12.76, allocations: 1.276 MB / 4.742 GB, free: 85.3 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.007472/12.77, allocations: 4.371 MB / 4.746 GB, free: 83.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003098/12.77, allocations: 1.61 MB / 4.748 GB, free: 83.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/12.77, allocations: 2.344 kB / 4.748 GB, free: 83.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007838/12.77, allocations: 495.5 kB / 4.748 GB, free: 83.24 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004895/12.78, allocations: 0.8687 MB / 4.749 GB, free: 83.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/12.79, allocations: 2.635 MB / 4.752 GB, free: 82.45 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/12.79, allocations: 1.616 MB / 4.753 GB, free: 81.71 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00354/12.79, allocations: 0.664 MB / 4.754 GB, free: 81.69 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/12.79, allocations: 119.8 kB / 4.754 GB, free: 81.68 MB / 0.9167 GB Notification: Performance of SimCode: time 1.162e-06/12.79, allocations: 0 / 4.754 GB, free: 81.68 MB / 0.9167 GB Notification: Performance of Templates: time 0.08931/12.88, allocations: 55.4 MB / 4.808 GB, free: 78.45 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