Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 186.3 kB / 326.5 MB, free: 2.246 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.663/1.663, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008834/0.0008833, allocations: 94.03 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003268, allocations: 11.5 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.407/5.618, allocations: 2.232 GB / 3.132 GB, free: 316.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003777/5.619, allocations: 95.98 kB / 3.132 GB, free: 316.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.608/11.23, allocations: 1.6 GB / 4.732 GB, free: 94.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.613e-06/11.23, allocations: 4 kB / 4.732 GB, free: 94.39 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003059/11.23, allocations: 66.25 kB / 4.732 GB, free: 94.34 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: 347 * Number of variables: 347 Notification: Performance of Generate backend data structure: time 0.01056/11.24, allocations: 3.19 MB / 4.736 GB, free: 91.11 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/11.24, allocations: 8.031 kB / 4.736 GB, free: 91.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/11.24, allocations: 0.7969 MB / 4.736 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007786/11.25, allocations: 2.681 MB / 4.739 GB, free: 87.55 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/11.25, allocations: 114.7 kB / 4.739 GB, free: 87.43 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/11.25, allocations: 152 kB / 4.739 GB, free: 87.29 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/11.26, allocations: 1.615 MB / 4.741 GB, free: 85.61 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/11.26, allocations: 3.906 kB / 4.741 GB, free: 85.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/11.26, allocations: 55.98 kB / 4.741 GB, free: 85.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/11.26, allocations: 58.66 kB / 4.741 GB, free: 85.49 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/11.26, allocations: 1.275 MB / 4.742 GB, free: 84.21 MB / 0.9167 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.009917/11.27, allocations: 7.484 MB / 4.749 GB, free: 76.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/11.27, allocations: 1.033 MB / 4.75 GB, free: 75.09 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/11.27, allocations: 113.7 kB / 4.751 GB, free: 74.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/11.27, allocations: 43.22 kB / 4.751 GB, free: 74.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001178/11.27, allocations: 155.1 kB / 4.751 GB, free: 74.76 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=81): time 3.807e-06/11.27, allocations: 0 / 4.751 GB, free: 74.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.004888/11.28, allocations: 1.757 MB / 4.752 GB, free: 72.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/11.28, allocations: 60.06 kB / 4.753 GB, free: 72.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/11.28, allocations: 1.525 MB / 4.754 GB, free: 71.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/11.28, allocations: 49.7 kB / 4.754 GB, free: 71.27 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/11.28, allocations: 0.9729 MB / 4.755 GB, free: 70.28 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/11.28, allocations: 287.9 kB / 4.755 GB, free: 70 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/11.28, allocations: 20 kB / 4.755 GB, free: 69.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000151/11.28, allocations: 345.9 kB / 4.756 GB, free: 69.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/11.28, allocations: 390.4 kB / 4.756 GB, free: 69.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009656/11.28, allocations: 0.8115 MB / 4.757 GB, free: 68.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/11.28, allocations: 0.4938 MB / 4.757 GB, free: 67.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/11.28, allocations: 0 / 4.757 GB, free: 67.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003656/11.29, allocations: 1.469 MB / 4.759 GB, free: 66.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001233/11.29, allocations: 3.97 MB / 4.763 GB, free: 61.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/11.29, allocations: 8 kB / 4.763 GB, free: 61.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/11.29, allocations: 173.2 kB / 4.763 GB, free: 61.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/11.29, allocations: 255.6 kB / 4.763 GB, free: 61.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/11.29, allocations: 3.534 MB / 4.766 GB, free: 57.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/11.29, allocations: 147.5 kB / 4.767 GB, free: 57.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/11.29, allocations: 63.97 kB / 4.767 GB, free: 57.51 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/11.3, allocations: 5.719 kB / 4.767 GB, free: 57.51 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003/11.3, allocations: 1.293 MB / 4.768 GB, free: 56.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/11.3, allocations: 8 kB / 4.768 GB, free: 56.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/11.3, allocations: 145.7 kB / 4.768 GB, free: 56.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008507/11.3, allocations: 239.6 kB / 4.768 GB, free: 55.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/11.3, allocations: 3.272 MB / 4.771 GB, free: 52.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/11.3, allocations: 135.7 kB / 4.772 GB, free: 52.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/11.3, allocations: 56.31 kB / 4.772 GB, free: 52.08 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001484/11.31, allocations: 0.6018 MB / 4.772 GB, free: 51.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/11.31, allocations: 193.6 kB / 4.772 GB, free: 51.27 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/11.31, allocations: 1.279 MB / 4.774 GB, free: 49.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/11.31, allocations: 8 kB / 4.774 GB, free: 49.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/11.31, allocations: 4 kB / 4.774 GB, free: 49.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00218/11.31, allocations: 1.104 MB / 4.775 GB, free: 48.8 MB / 0.9167 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.006293/11.32, allocations: 2.984 MB / 4.778 GB, free: 45.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/11.32, allocations: 7.922 kB / 4.778 GB, free: 45.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009993/11.32, allocations: 203.7 kB / 4.778 GB, free: 45.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/11.32, allocations: 121.4 kB / 4.778 GB, free: 45.35 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/11.32, allocations: 23.98 kB / 4.778 GB, free: 45.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/11.32, allocations: 4.833 MB / 4.783 GB, free: 40.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/11.32, allocations: 7.984 kB / 4.783 GB, free: 40.15 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/11.33, allocations: 1.902 MB / 4.785 GB, free: 38.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/11.33, allocations: 358.5 kB / 4.785 GB, free: 37.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/11.33, allocations: 19.95 kB / 4.785 GB, free: 37.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/11.33, allocations: 139.6 kB / 4.785 GB, free: 37.63 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/11.33, allocations: 60.52 kB / 4.785 GB, free: 37.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/11.33, allocations: 35.97 kB / 4.785 GB, free: 37.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001742/11.33, allocations: 1.181 MB / 4.786 GB, free: 36.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.81e-07/11.33, allocations: 0 / 4.786 GB, free: 36.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0054/11.34, allocations: 1.388 MB / 4.788 GB, free: 34.95 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006081/11.34, allocations: 4.198 MB / 4.792 GB, free: 30.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004173/11.35, allocations: 1.95 MB / 4.794 GB, free: 28.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/11.35, allocations: 0 / 4.794 GB, free: 28.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/11.35, allocations: 0.7095 MB / 4.794 GB, free: 27.78 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/11.35, allocations: 1.007 MB / 4.795 GB, free: 26.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007475/11.36, allocations: 4.23 MB / 4.8 GB, free: 22.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/11.36, allocations: 1.621 MB / 4.801 GB, free: 20.89 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002397/11.36, allocations: 486.9 kB / 4.802 GB, free: 20.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/11.36, allocations: 147.4 kB / 4.802 GB, free: 20.29 MB / 0.9167 GB Notification: Performance of SimCode: time 1.302e-06/11.36, allocations: 0 / 4.802 GB, free: 20.29 MB / 0.9167 GB Notification: Performance of Templates: time 0.725/12.09, allocations: 76.71 MB / 4.877 GB, free: 108.9 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_FlowControlled_dp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches