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.221/2.221, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001175/0.001175, allocations: 181.1 kB / 498.1 MB, free: 5.73 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.529/1.529, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.001073/0.001073, allocations: 99.31 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004214, allocations: 10.56 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3561, allocations: 142.3 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.01/5.366, allocations: 1.946 GB / 3.169 GB, free: 3.598 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/5.366, allocations: 95.45 kB / 3.169 GB, free: 3.547 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.706/12.07, allocations: 1.675 GB / 4.844 GB, free: 110.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.843e-06/12.07, allocations: 0 / 4.844 GB, free: 110.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002905/12.07, allocations: 63.59 kB / 4.844 GB, free: 110.5 MB / 1.182 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.01152/12.08, allocations: 3.177 MB / 4.847 GB, free: 107.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/12.08, allocations: 8.031 kB / 4.847 GB, free: 107.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007654/12.09, allocations: 0.9881 MB / 4.848 GB, free: 106.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007727/12.1, allocations: 2.756 MB / 4.851 GB, free: 103.4 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/12.1, allocations: 114.7 kB / 4.851 GB, free: 103.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/12.1, allocations: 155.8 kB / 4.851 GB, free: 103.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/12.1, allocations: 1.646 MB / 4.852 GB, free: 101.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/12.1, allocations: 0 / 4.852 GB, free: 101.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/12.1, allocations: 60.59 kB / 4.853 GB, free: 101.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/12.1, allocations: 46.61 kB / 4.853 GB, free: 101.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/12.11, allocations: 1.357 MB / 4.854 GB, free: 99.95 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009933/12.12, allocations: 7.516 MB / 4.861 GB, free: 91.88 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/12.12, allocations: 1.109 MB / 4.862 GB, free: 90.72 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/12.12, allocations: 105.7 kB / 4.862 GB, free: 90.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/12.12, allocations: 43.22 kB / 4.862 GB, free: 90.55 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001303/12.12, allocations: 234.9 kB / 4.863 GB, free: 90.32 MB / 1.182 GB Notification: Performance of pre-optimization done (n=78): time 4.458e-06/12.12, allocations: 0 / 4.863 GB, free: 90.32 MB / 1.182 GB Notification: Performance of matching and sorting (n=78): time 0.005114/12.12, allocations: 1.72 MB / 4.864 GB, free: 88.57 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/12.12, allocations: 64 kB / 4.864 GB, free: 88.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/12.13, allocations: 1.521 MB / 4.866 GB, free: 86.95 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/12.13, allocations: 49.7 kB / 4.866 GB, free: 86.89 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006253/12.13, allocations: 0.9803 MB / 4.867 GB, free: 85.9 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/12.13, allocations: 272 kB / 4.867 GB, free: 85.63 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/12.13, allocations: 19.98 kB / 4.867 GB, free: 85.61 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/12.13, allocations: 349.9 kB / 4.868 GB, free: 85.26 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009466/12.13, allocations: 426 kB / 4.868 GB, free: 84.85 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/12.13, allocations: 0.8439 MB / 4.869 GB, free: 83.82 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/12.13, allocations: 0.5282 MB / 4.869 GB, free: 83.29 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/12.13, allocations: 7.953 kB / 4.869 GB, free: 83.29 MB / 1.182 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003476/12.13, allocations: 1.499 MB / 4.871 GB, free: 81.77 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007697/12.14, allocations: 3.963 MB / 4.875 GB, free: 77.38 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/12.14, allocations: 12 kB / 4.875 GB, free: 77.37 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00049/12.14, allocations: 112.3 kB / 4.875 GB, free: 77.26 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/12.14, allocations: 271.6 kB / 4.875 GB, free: 77 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/12.14, allocations: 2.439 MB / 4.877 GB, free: 74.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/12.14, allocations: 163.6 kB / 4.878 GB, free: 74.24 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/12.14, allocations: 55.97 kB / 4.878 GB, free: 74.19 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/12.14, allocations: 4.625 kB / 4.878 GB, free: 74.18 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002705/12.14, allocations: 1.25 MB / 4.879 GB, free: 72.93 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/12.14, allocations: 8 kB / 4.879 GB, free: 72.92 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/12.15, allocations: 120.5 kB / 4.879 GB, free: 72.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/12.15, allocations: 248 kB / 4.879 GB, free: 72.56 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/12.15, allocations: 1.835 MB / 4.881 GB, free: 70.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/12.15, allocations: 155.6 kB / 4.881 GB, free: 70.45 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/12.15, allocations: 55.98 kB / 4.881 GB, free: 70.39 MB / 1.182 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 () * Number of clocked 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.001621/12.15, allocations: 0.5839 MB / 4.882 GB, free: 69.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006732/12.15, allocations: 197.5 kB / 4.882 GB, free: 69.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/12.16, allocations: 1.244 MB / 4.883 GB, free: 68.35 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/12.16, allocations: 12 kB / 4.883 GB, free: 68.34 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/12.16, allocations: 4.375 kB / 4.883 GB, free: 68.33 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002461/12.16, allocations: 1.055 MB / 4.884 GB, free: 67.24 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008114/12.17, allocations: 3.114 MB / 4.887 GB, free: 64 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/12.17, allocations: 8 kB / 4.887 GB, free: 63.99 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/12.17, allocations: 211.7 kB / 4.887 GB, free: 63.79 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003484/12.17, allocations: 100.6 kB / 4.888 GB, free: 63.69 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/12.17, allocations: 19.98 kB / 4.888 GB, free: 63.67 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/12.17, allocations: 2.308 MB / 4.89 GB, free: 61.21 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/12.17, allocations: 0 / 4.89 GB, free: 61.21 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/12.18, allocations: 1.926 MB / 4.892 GB, free: 59.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/12.18, allocations: 350.5 kB / 4.892 GB, free: 58.84 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007066/12.18, allocations: 20.38 kB / 4.892 GB, free: 58.82 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/12.18, allocations: 139.6 kB / 4.892 GB, free: 58.68 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/12.18, allocations: 60.52 kB / 4.892 GB, free: 58.62 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/12.18, allocations: 39.97 kB / 4.892 GB, free: 58.59 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002803/12.18, allocations: 1.181 MB / 4.893 GB, free: 57.39 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.71e-07/12.18, allocations: 0 / 4.893 GB, free: 57.39 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005626/12.19, allocations: 1.388 MB / 4.895 GB, free: 56 MB / 1.182 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 () * Number of clocked 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.00606/12.19, allocations: 4.186 MB / 4.899 GB, free: 51.46 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004584/12.2, allocations: 1.923 MB / 4.901 GB, free: 49.52 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/12.2, allocations: 4 kB / 4.901 GB, free: 49.51 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/12.2, allocations: 0.6089 MB / 4.901 GB, free: 48.89 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00515/12.21, allocations: 1.001 MB / 4.902 GB, free: 47.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008294/12.21, allocations: 4.268 MB / 4.907 GB, free: 43.58 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/12.22, allocations: 1.617 MB / 4.908 GB, free: 41.93 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002746/12.22, allocations: 0.4889 MB / 4.909 GB, free: 41.43 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/12.22, allocations: 155.4 kB / 4.909 GB, free: 41.29 MB / 1.182 GB Notification: Performance of SimCode: time 1.393e-06/12.22, allocations: 0 / 4.909 GB, free: 41.29 MB / 1.182 GB Notification: Performance of Templates: time 0.8795/13.1, allocations: 76.06 MB / 4.983 GB, free: 194.5 MB / 1.214 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