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.521/1.521, allocations: 249.5 MB / 257 MB, free: 6.879 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.001052/0.001052, allocations: 184.1 kB / 316.3 MB, free: 3.223 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.758/1.758, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009269/0.0009269, allocations: 89.11 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.748e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2237, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.874/6.097, allocations: 2.232 GB / 3.117 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/6.098, allocations: 86.52 kB / 3.117 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.058/12.16, allocations: 1.58 GB / 4.698 GB, free: 112 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.803e-06/12.16, allocations: 0 / 4.698 GB, free: 112 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002658/12.16, allocations: 64.03 kB / 4.698 GB, free: 112 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.007715/12.16, allocations: 2.527 MB / 4.7 GB, free: 110.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/12.16, allocations: 9.031 kB / 4.7 GB, free: 110.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006544/12.17, allocations: 0.8018 MB / 4.701 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00813/12.18, allocations: 2.658 MB / 4.704 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/12.18, allocations: 49.61 kB / 4.704 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/12.18, allocations: 90.12 kB / 4.704 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002277/12.18, allocations: 1.132 MB / 4.705 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/12.18, allocations: 1.344 MB / 4.706 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/12.18, allocations: 0 / 4.706 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/12.18, allocations: 0 / 4.706 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/12.18, allocations: 52.5 kB / 4.706 GB, free: 110.1 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.01009/12.19, allocations: 7.207 MB / 4.713 GB, free: 106.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/12.2, allocations: 0.9869 MB / 4.714 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/12.2, allocations: 423.9 kB / 4.715 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/12.2, allocations: 112.1 kB / 4.715 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/12.2, allocations: 44.84 kB / 4.715 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001108/12.2, allocations: 124.5 kB / 4.715 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=81): time 3.506e-06/12.2, allocations: 0 / 4.715 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.002648/12.2, allocations: 1.069 MB / 4.716 GB, free: 106 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/12.2, allocations: 59.16 kB / 4.716 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/12.2, allocations: 1.295 MB / 4.717 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/12.2, allocations: 30.36 kB / 4.717 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006354/12.2, allocations: 0.9797 MB / 4.718 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/12.2, allocations: 272.7 kB / 4.718 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/12.2, allocations: 0 / 4.718 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/12.2, allocations: 354.1 kB / 4.719 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/12.2, allocations: 336.1 kB / 4.719 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/12.2, allocations: 0.7556 MB / 4.72 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/12.21, allocations: 0.4917 MB / 4.72 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/12.21, allocations: 3.938 kB / 4.72 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002795/12.21, allocations: 1.34 MB / 4.722 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006923/12.21, allocations: 3.943 MB / 4.725 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/12.21, allocations: 9.75 kB / 4.725 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/12.21, allocations: 145.5 kB / 4.726 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/12.21, allocations: 267 kB / 4.726 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/12.21, allocations: 3.372 MB / 4.729 GB, free: 97.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/12.21, allocations: 108.2 kB / 4.729 GB, free: 97.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/12.21, allocations: 58.84 kB / 4.729 GB, free: 97.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/12.21, allocations: 3.25 kB / 4.729 GB, free: 97.15 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00229/12.22, allocations: 1.114 MB / 4.73 GB, free: 97.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/12.22, allocations: 7.781 kB / 4.73 GB, free: 97.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/12.22, allocations: 138.2 kB / 4.731 GB, free: 97.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/12.22, allocations: 234 kB / 4.731 GB, free: 97.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/12.22, allocations: 3.045 MB / 4.734 GB, free: 94.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/12.22, allocations: 114.3 kB / 4.734 GB, free: 94.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/12.22, allocations: 50.14 kB / 4.734 GB, free: 94.52 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 (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.000393/12.22, allocations: 148.6 kB / 4.734 GB, free: 94.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/12.22, allocations: 186.6 kB / 4.734 GB, free: 94.31 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/12.23, allocations: 1.137 MB / 4.735 GB, free: 94.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/12.23, allocations: 12.52 kB / 4.735 GB, free: 94.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/12.23, allocations: 0 / 4.735 GB, free: 94.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001709/12.23, allocations: 0.9816 MB / 4.736 GB, free: 93.82 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.005276/12.23, allocations: 2.709 MB / 4.739 GB, free: 93.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/12.23, allocations: 6.328 kB / 4.739 GB, free: 93.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009715/12.23, allocations: 207.9 kB / 4.739 GB, free: 93.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/12.23, allocations: 110.2 kB / 4.739 GB, free: 93.19 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/12.23, allocations: 16.28 kB / 4.739 GB, free: 93.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/12.24, allocations: 4.67 MB / 4.744 GB, free: 88.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/12.24, allocations: 0 / 4.744 GB, free: 88.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/12.24, allocations: 1.702 MB / 4.746 GB, free: 88.42 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009831/12.24, allocations: 342.2 kB / 4.746 GB, free: 88.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/12.24, allocations: 6.797 kB / 4.746 GB, free: 88.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/12.24, allocations: 115.5 kB / 4.746 GB, free: 88.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/12.24, allocations: 64.81 kB / 4.746 GB, free: 88.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/12.24, allocations: 32.12 kB / 4.746 GB, free: 88.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00143/12.24, allocations: 0.9769 MB / 4.747 GB, free: 88.07 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.31e-07/12.24, allocations: 1.625 kB / 4.747 GB, free: 88.07 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004651/12.25, allocations: 1.283 MB / 4.748 GB, free: 87.91 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 (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.005965/12.25, allocations: 4.368 MB / 4.753 GB, free: 86.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003191/12.26, allocations: 1.776 MB / 4.754 GB, free: 85.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/12.26, allocations: 0 / 4.754 GB, free: 85.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008423/12.26, allocations: 0.617 MB / 4.755 GB, free: 85.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/12.26, allocations: 0.893 MB / 4.756 GB, free: 85.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/12.27, allocations: 2.667 MB / 4.758 GB, free: 84.79 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/12.27, allocations: 1.624 MB / 4.76 GB, free: 84.06 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003021/12.27, allocations: 0.6611 MB / 4.761 GB, free: 84.04 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/12.27, allocations: 114.6 kB / 4.761 GB, free: 84.03 MB / 0.9167 GB Notification: Performance of SimCode: time 1.553e-06/12.27, allocations: 0 / 4.761 GB, free: 84.03 MB / 0.9167 GB Notification: Performance of Templates: time 0.08473/12.36, allocations: 56.33 MB / 4.816 GB, free: 79.98 MB / 0.9167 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