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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.19/1.19, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.0009694/0.0009695, allocations: 189.2 kB / 316 MB, free: 3.582 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.054/1.054, allocations: 205.2 MB / 0.5667 GB, free: 15.73 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.0007909/0.0007909, allocations: 93.94 kB / 0.671 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.292e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.39/3.534, allocations: 2.232 GB / 3.117 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/3.535, allocations: 87.94 kB / 3.117 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.458/7.993, allocations: 1.599 GB / 4.716 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002343/7.993, allocations: 62 kB / 4.716 GB, free: 104.5 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.005865/7.999, allocations: 2.534 MB / 4.719 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/7.999, allocations: 11.12 kB / 4.719 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/8.005, allocations: 0.8761 MB / 4.72 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0063/8.011, allocations: 2.719 MB / 4.722 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/8.011, allocations: 43 kB / 4.722 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/8.011, allocations: 93.72 kB / 4.722 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002078/8.013, allocations: 1.252 MB / 4.724 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/8.016, allocations: 1.419 MB / 4.725 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/8.016, allocations: 0 / 4.725 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/8.016, allocations: 0 / 4.725 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/8.016, allocations: 53.02 kB / 4.725 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009553/8.025, allocations: 7.663 MB / 4.732 GB, free: 98.92 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/8.027, allocations: 0.8972 MB / 4.733 GB, free: 98.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/8.027, allocations: 0.5396 MB / 4.734 GB, free: 98.87 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/8.028, allocations: 275.2 kB / 4.734 GB, free: 98.59 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/8.028, allocations: 45.81 kB / 4.734 GB, free: 98.55 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=81): time 3.507e-06/8.028, allocations: 7.406 kB / 4.734 GB, free: 98.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.003586/8.031, allocations: 1.179 MB / 4.735 GB, free: 98.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/8.031, allocations: 60.91 kB / 4.735 GB, free: 98.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/8.033, allocations: 1.306 MB / 4.737 GB, free: 98.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/8.033, allocations: 28.61 kB / 4.737 GB, free: 98.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/8.033, allocations: 0.631 MB / 4.737 GB, free: 97.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/8.034, allocations: 273.3 kB / 4.738 GB, free: 97.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/8.034, allocations: 3.312 kB / 4.738 GB, free: 97.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/8.034, allocations: 344.5 kB / 4.738 GB, free: 97.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/8.034, allocations: 355.4 kB / 4.738 GB, free: 97.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/8.035, allocations: 0.771 MB / 4.739 GB, free: 96.87 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/8.036, allocations: 0.5183 MB / 4.739 GB, free: 96.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/8.036, allocations: 3.906 kB / 4.739 GB, free: 96.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002743/8.039, allocations: 1.398 MB / 4.741 GB, free: 96.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000612/8.039, allocations: 3.845 MB / 4.745 GB, free: 92.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/8.039, allocations: 7.219 kB / 4.745 GB, free: 92.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/8.04, allocations: 138.7 kB / 4.745 GB, free: 92.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/8.041, allocations: 269.8 kB / 4.745 GB, free: 92.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/8.043, allocations: 3.379 MB / 4.748 GB, free: 89.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/8.045, allocations: 166.1 kB / 4.748 GB, free: 89.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/8.045, allocations: 62.14 kB / 4.749 GB, free: 89.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/8.045, allocations: 5.281 kB / 4.749 GB, free: 89.77 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002375/8.048, allocations: 1.16 MB / 4.75 GB, free: 89.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/8.048, allocations: 10.53 kB / 4.75 GB, free: 89.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/8.048, allocations: 140.8 kB / 4.75 GB, free: 89.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/8.049, allocations: 242 kB / 4.75 GB, free: 89.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/8.051, allocations: 3.028 MB / 4.753 GB, free: 87.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/8.053, allocations: 143.2 kB / 4.753 GB, free: 87.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/8.053, allocations: 49.17 kB / 4.753 GB, free: 87.11 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: 42 * 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.0003439/8.053, allocations: 161.4 kB / 4.753 GB, free: 86.99 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/8.054, allocations: 187.3 kB / 4.753 GB, free: 86.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/8.057, allocations: 1.226 MB / 4.755 GB, free: 86.69 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/8.057, allocations: 8.875 kB / 4.755 GB, free: 86.69 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/8.057, allocations: 3.719 kB / 4.755 GB, free: 86.69 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001902/8.059, allocations: 1.038 MB / 4.756 GB, free: 86.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/8.064, allocations: 2.678 MB / 4.758 GB, free: 85.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/8.064, allocations: 0 / 4.758 GB, free: 85.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/8.065, allocations: 217.3 kB / 4.759 GB, free: 85.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/8.066, allocations: 115 kB / 4.759 GB, free: 85.86 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/8.066, allocations: 21.2 kB / 4.759 GB, free: 85.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/8.068, allocations: 4.697 MB / 4.763 GB, free: 81.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/8.068, allocations: 3.75 kB / 4.763 GB, free: 81.63 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003098/8.072, allocations: 1.807 MB / 4.765 GB, free: 81.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009923/8.073, allocations: 356 kB / 4.765 GB, free: 80.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000525/8.073, allocations: 3.906 kB / 4.765 GB, free: 80.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/8.075, allocations: 109.8 kB / 4.765 GB, free: 80.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/8.075, allocations: 48.09 kB / 4.766 GB, free: 80.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/8.075, allocations: 33.62 kB / 4.766 GB, free: 80.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.00183/8.077, allocations: 0.9875 MB / 4.767 GB, free: 80.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004697/8.081, allocations: 1.287 MB / 4.768 GB, free: 80.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * 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): 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.005432/8.087, allocations: 4.376 MB / 4.772 GB, free: 78.84 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003081/8.09, allocations: 1.835 MB / 4.774 GB, free: 78.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/8.09, allocations: 3.906 kB / 4.774 GB, free: 78.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009061/8.091, allocations: 0.64 MB / 4.774 GB, free: 78.31 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/8.095, allocations: 0.85 MB / 4.775 GB, free: 78.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/8.101, allocations: 2.777 MB / 4.778 GB, free: 77.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/8.103, allocations: 1.781 MB / 4.78 GB, free: 76.82 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/8.103, allocations: 0 / 4.78 GB, free: 76.82 MB / 0.9167 GB Notification: Performance of Templates: time 0.08444/8.187, allocations: 59.78 MB / 4.838 GB, free: 73.66 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