Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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_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_9_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_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, 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.0011/0.0011, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.683/1.683, 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.0008608/0.0008612, allocations: 87.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.86e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2969, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.937/6.234, allocations: 1.946 GB / 3.158 GB, free: 383.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/6.234, allocations: 83.95 kB / 3.158 GB, free: 383.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.674/11.91, allocations: 1.674 GB / 4.832 GB, free: 10.18 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.995e-06/11.91, allocations: 0 / 4.832 GB, free: 10.18 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0005859/11.91, allocations: 63.92 kB / 4.832 GB, free: 10.12 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.01265/11.92, allocations: 2.522 MB / 4.834 GB, free: 7.551 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/11.92, allocations: 8.031 kB / 4.834 GB, free: 7.543 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/11.93, allocations: 0.992 MB / 4.835 GB, free: 6.547 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/11.95, allocations: 2.725 MB / 4.838 GB, free: 3.746 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/11.95, allocations: 118.6 kB / 4.838 GB, free: 3.629 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009069/11.95, allocations: 155.9 kB / 4.838 GB, free: 3.477 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005894/11.95, allocations: 1.533 MB / 4.84 GB, free: 1.879 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.828e-05/11.95, allocations: 3.938 kB / 4.84 GB, free: 1.875 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/11.95, allocations: 56 kB / 4.84 GB, free: 1.82 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.801e-05/11.95, allocations: 50.61 kB / 4.84 GB, free: 1.77 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/11.96, allocations: 1.178 MB / 4.841 GB, free: 0.5859 MB / 1.198 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.939/12.9, allocations: 7.505 MB / 4.848 GB, free: 168.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/12.9, allocations: 0.9683 MB / 4.849 GB, free: 168.3 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/12.9, allocations: 431.5 kB / 4.85 GB, free: 168.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/12.9, allocations: 113.6 kB / 4.85 GB, free: 168.2 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/12.9, allocations: 42.31 kB / 4.85 GB, free: 168.1 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001461/12.9, allocations: 225.9 kB / 4.85 GB, free: 168.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=78): time 5.621e-06/12.9, allocations: 2.562 kB / 4.85 GB, free: 168.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=78): time 0.002629/12.9, allocations: 1.01 MB / 4.851 GB, free: 168 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/12.9, allocations: 58.47 kB / 4.851 GB, free: 167.9 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/12.91, allocations: 1.505 MB / 4.852 GB, free: 167.7 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/12.91, allocations: 42.33 kB / 4.852 GB, free: 167.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/12.91, allocations: 0.9809 MB / 4.853 GB, free: 167.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/12.91, allocations: 272.7 kB / 4.854 GB, free: 167.3 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/12.91, allocations: 18.25 kB / 4.854 GB, free: 167.3 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/12.91, allocations: 346.3 kB / 4.854 GB, free: 167 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/12.91, allocations: 345.8 kB / 4.854 GB, free: 167 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/12.91, allocations: 0.7492 MB / 4.855 GB, free: 166.5 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/12.91, allocations: 456.7 kB / 4.856 GB, free: 166.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/12.91, allocations: 5.562 kB / 4.856 GB, free: 166.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002861/12.91, allocations: 1.328 MB / 4.857 GB, free: 166.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00073/12.91, allocations: 3.966 MB / 4.861 GB, free: 162 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/12.91, allocations: 13.06 kB / 4.861 GB, free: 162 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/12.91, allocations: 104.4 kB / 4.861 GB, free: 162 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/12.91, allocations: 275.9 kB / 4.861 GB, free: 162 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/12.92, allocations: 2.376 MB / 4.863 GB, free: 160.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/12.92, allocations: 170 kB / 4.864 GB, free: 160.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/12.92, allocations: 64.62 kB / 4.864 GB, free: 160.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/12.92, allocations: 4.094 kB / 4.864 GB, free: 160.2 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002434/12.92, allocations: 1.092 MB / 4.865 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/12.92, allocations: 6.531 kB / 4.865 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/12.92, allocations: 109.3 kB / 4.865 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009758/12.92, allocations: 254.2 kB / 4.865 GB, free: 160.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/12.93, allocations: 1.773 MB / 4.867 GB, free: 158.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/12.93, allocations: 153.5 kB / 4.867 GB, free: 158.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/12.93, allocations: 56.88 kB / 4.867 GB, free: 158.9 MB / 1.198 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.0004308/12.93, allocations: 170.6 kB / 4.867 GB, free: 158.8 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/12.93, allocations: 200.6 kB / 4.867 GB, free: 158.7 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/12.93, allocations: 1.073 MB / 4.868 GB, free: 158.6 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/12.93, allocations: 9.031 kB / 4.868 GB, free: 158.6 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/12.93, allocations: 0 / 4.868 GB, free: 158.6 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001837/12.93, allocations: 0.8962 MB / 4.869 GB, free: 158.4 MB / 1.198 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.006694/12.94, allocations: 2.969 MB / 4.872 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/12.94, allocations: 2.844 kB / 4.872 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/12.94, allocations: 206.2 kB / 4.872 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/12.94, allocations: 87.67 kB / 4.872 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/12.94, allocations: 30.3 kB / 4.872 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/12.94, allocations: 2.24 MB / 4.875 GB, free: 155.9 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/12.94, allocations: 6.906 kB / 4.875 GB, free: 155.9 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/12.95, allocations: 1.676 MB / 4.876 GB, free: 155.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/12.95, allocations: 356.3 kB / 4.877 GB, free: 155.2 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/12.95, allocations: 15.97 kB / 4.877 GB, free: 155.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/12.95, allocations: 138.9 kB / 4.877 GB, free: 155.2 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/12.95, allocations: 61.47 kB / 4.877 GB, free: 155.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.455e-05/12.95, allocations: 31.42 kB / 4.877 GB, free: 155.2 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002254/12.95, allocations: 1.165 MB / 4.878 GB, free: 155 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.01e-07/12.95, allocations: 0 / 4.878 GB, free: 155 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005552/12.96, allocations: 1.385 MB / 4.879 GB, free: 155 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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.007678/12.97, allocations: 4.199 MB / 4.883 GB, free: 153.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003676/12.97, allocations: 1.758 MB / 4.885 GB, free: 153 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/12.97, allocations: 0 / 4.885 GB, free: 153 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/12.97, allocations: 0.5277 MB / 4.886 GB, free: 152.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004686/12.98, allocations: 0.9844 MB / 4.887 GB, free: 152.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/12.98, allocations: 2.746 MB / 4.889 GB, free: 152.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/12.98, allocations: 1.62 MB / 4.891 GB, free: 151.4 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003358/12.98, allocations: 0.7504 MB / 4.892 GB, free: 151.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/12.99, allocations: 121.1 kB / 4.892 GB, free: 151.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.052e-06/12.99, allocations: 0 / 4.892 GB, free: 151.4 MB / 1.198 GB Notification: Performance of Templates: time 0.1319/13.12, allocations: 88.56 MB / 4.978 GB, free: 148.9 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches