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.338/1.338, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001149/0.001149, allocations: 183.8 kB / 326.5 MB, free: 2.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.694/1.694, 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.001006/0.001006, allocations: 95.94 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 12.97 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.621/5.864, allocations: 2.232 GB / 3.132 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/5.865, allocations: 98.45 kB / 3.132 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.626/11.49, allocations: 1.6 GB / 4.732 GB, free: 95.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.284e-06/11.49, allocations: 0 / 4.732 GB, free: 95.23 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002547/11.49, allocations: 68.14 kB / 4.732 GB, free: 95.16 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.009361/11.5, allocations: 3.168 MB / 4.735 GB, free: 91.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/11.5, allocations: 8.031 kB / 4.735 GB, free: 91.92 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005932/11.51, allocations: 0.8046 MB / 4.736 GB, free: 91.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00718/11.51, allocations: 2.658 MB / 4.738 GB, free: 88.38 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-05/11.51, allocations: 118.6 kB / 4.738 GB, free: 88.26 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/11.51, allocations: 144 kB / 4.739 GB, free: 88.12 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/11.52, allocations: 1.603 MB / 4.74 GB, free: 86.45 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/11.52, allocations: 0 / 4.74 GB, free: 86.45 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/11.52, allocations: 56 kB / 4.74 GB, free: 86.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/11.52, allocations: 50.62 kB / 4.74 GB, free: 86.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/11.52, allocations: 1.271 MB / 4.741 GB, free: 85.07 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.009797/11.53, allocations: 7.423 MB / 4.749 GB, free: 77.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/11.53, allocations: 1.017 MB / 4.75 GB, free: 76.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/11.53, allocations: 117.7 kB / 4.75 GB, free: 75.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/11.53, allocations: 39.22 kB / 4.75 GB, free: 75.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001765/11.53, allocations: 230.9 kB / 4.75 GB, free: 75.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 4.458e-06/11.53, allocations: 0 / 4.75 GB, free: 75.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.006777/11.54, allocations: 1.587 MB / 4.752 GB, free: 74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/11.54, allocations: 60.06 kB / 4.752 GB, free: 73.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/11.54, allocations: 1.521 MB / 4.753 GB, free: 72.38 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/11.54, allocations: 45.7 kB / 4.753 GB, free: 72.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009331/11.54, allocations: 0.9727 MB / 4.754 GB, free: 71.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/11.55, allocations: 268 kB / 4.754 GB, free: 71.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/11.55, allocations: 20 kB / 4.754 GB, free: 71.06 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/11.55, allocations: 349.9 kB / 4.755 GB, free: 70.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/11.55, allocations: 378.1 kB / 4.755 GB, free: 70.34 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/11.55, allocations: 0.8102 MB / 4.756 GB, free: 69.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/11.55, allocations: 0.4938 MB / 4.756 GB, free: 68.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/11.55, allocations: 0 / 4.756 GB, free: 68.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004575/11.55, allocations: 1.425 MB / 4.758 GB, free: 67.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009409/11.55, allocations: 3.95 MB / 4.762 GB, free: 63.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/11.55, allocations: 19.98 kB / 4.762 GB, free: 63.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/11.56, allocations: 104.8 kB / 4.762 GB, free: 63.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/11.56, allocations: 259.6 kB / 4.762 GB, free: 62.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/11.56, allocations: 2.399 MB / 4.764 GB, free: 60.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/11.56, allocations: 143.6 kB / 4.764 GB, free: 60.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/11.56, allocations: 55.98 kB / 4.765 GB, free: 60.08 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/11.56, allocations: 4 kB / 4.765 GB, free: 60.07 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003645/11.57, allocations: 1.168 MB / 4.766 GB, free: 58.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/11.57, allocations: 8 kB / 4.766 GB, free: 58.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/11.57, allocations: 116.4 kB / 4.766 GB, free: 58.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/11.57, allocations: 235.8 kB / 4.766 GB, free: 58.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/11.57, allocations: 1.83 MB / 4.768 GB, free: 56.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/11.58, allocations: 143.7 kB / 4.768 GB, free: 56.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/11.58, allocations: 51.98 kB / 4.768 GB, free: 56.41 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 (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.001865/11.58, allocations: 0.5922 MB / 4.769 GB, free: 55.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006165/11.58, allocations: 197.5 kB / 4.769 GB, free: 55.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/11.58, allocations: 1.15 MB / 4.77 GB, free: 54.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/11.58, allocations: 8 kB / 4.77 GB, free: 54.44 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/11.58, allocations: 0 / 4.77 GB, free: 54.44 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003223/11.59, allocations: 0.9692 MB / 4.771 GB, free: 53.44 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.008197/11.59, allocations: 2.957 MB / 4.774 GB, free: 50.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/11.59, allocations: 320 / 4.774 GB, free: 50.35 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/11.6, allocations: 191.9 kB / 4.774 GB, free: 50.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/11.6, allocations: 92.8 kB / 4.774 GB, free: 50.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.299e-05/11.6, allocations: 27.97 kB / 4.774 GB, free: 50.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/11.6, allocations: 2.284 MB / 4.776 GB, free: 47.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/11.6, allocations: 0 / 4.776 GB, free: 47.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/11.6, allocations: 1.77 MB / 4.778 GB, free: 45.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/11.61, allocations: 350.6 kB / 4.778 GB, free: 45.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/11.61, allocations: 16 kB / 4.778 GB, free: 45.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/11.61, allocations: 131.7 kB / 4.778 GB, free: 45.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/11.61, allocations: 56.52 kB / 4.779 GB, free: 45.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/11.61, allocations: 40.28 kB / 4.779 GB, free: 45.17 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002602/11.61, allocations: 1.181 MB / 4.78 GB, free: 43.97 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.81e-07/11.61, allocations: 4 kB / 4.78 GB, free: 43.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006845/11.62, allocations: 1.353 MB / 4.781 GB, free: 42.61 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 (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.00782/11.63, allocations: 4.19 MB / 4.785 GB, free: 38.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005555/11.63, allocations: 1.782 MB / 4.787 GB, free: 36.35 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/11.63, allocations: 4 kB / 4.787 GB, free: 36.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/11.63, allocations: 0.5651 MB / 4.787 GB, free: 35.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006804/11.64, allocations: 1.002 MB / 4.788 GB, free: 34.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008764/11.65, allocations: 4.188 MB / 4.793 GB, free: 30.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/11.65, allocations: 1.609 MB / 4.794 GB, free: 28.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003431/11.65, allocations: 489.4 kB / 4.795 GB, free: 28.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/11.65, allocations: 147.4 kB / 4.795 GB, free: 28.34 MB / 0.9167 GB Notification: Performance of SimCode: time 3.316e-06/11.65, allocations: 0 / 4.795 GB, free: 28.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.7244/12.38, allocations: 75.75 MB / 4.869 GB, free: 122.3 MB / 0.9323 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