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") [: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.197/1.197, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.0009549/0.0009548, allocations: 181.2 kB / 316 MB, free: 3.551 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.067/1.067, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008359/0.0008359, allocations: 87.27 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.64e-06/5.671e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1403, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.369/3.509, allocations: 2.232 GB / 3.116 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/3.509, allocations: 91.95 kB / 3.116 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.408/7.918, allocations: 1.599 GB / 4.716 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002145/7.918, allocations: 64.34 kB / 4.716 GB, free: 109.7 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.004946/7.923, allocations: 2.515 MB / 4.718 GB, free: 108.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/7.923, allocations: 9.156 kB / 4.718 GB, free: 108.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/7.928, allocations: 0.8762 MB / 4.719 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005988/7.934, allocations: 2.703 MB / 4.722 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/7.934, allocations: 48.7 kB / 4.722 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/7.935, allocations: 90.91 kB / 4.722 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002046/7.937, allocations: 1.234 MB / 4.723 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/7.939, allocations: 1.409 MB / 4.724 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/7.939, allocations: 6.562 kB / 4.724 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/7.939, allocations: 0 / 4.724 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/7.939, allocations: 52.59 kB / 4.724 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008492/7.947, allocations: 7.613 MB / 4.732 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/7.948, allocations: 0.8736 MB / 4.733 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/7.949, allocations: 0.5451 MB / 4.733 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/7.949, allocations: 277.5 kB / 4.733 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/7.95, allocations: 38.47 kB / 4.733 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 2.935e-06/7.95, allocations: 0 / 4.733 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.003235/7.953, allocations: 1.141 MB / 4.735 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/7.953, allocations: 64.41 kB / 4.735 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/7.954, allocations: 1.297 MB / 4.736 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/7.954, allocations: 29.55 kB / 4.736 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/7.955, allocations: 0.6258 MB / 4.737 GB, free: 103 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/7.955, allocations: 259.1 kB / 4.737 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/7.955, allocations: 0 / 4.737 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.693e-05/7.955, allocations: 346.8 kB / 4.737 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/7.955, allocations: 357.7 kB / 4.737 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/7.956, allocations: 0.7578 MB / 4.738 GB, free: 102 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/7.957, allocations: 0.513 MB / 4.739 GB, free: 102 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/7.957, allocations: 5.375 kB / 4.739 GB, free: 102 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002466/7.959, allocations: 1.341 MB / 4.74 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005877/7.96, allocations: 3.841 MB / 4.744 GB, free: 97.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/7.96, allocations: 11.41 kB / 4.744 GB, free: 97.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/7.96, allocations: 105.5 kB / 4.744 GB, free: 97.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/7.961, allocations: 269.5 kB / 4.744 GB, free: 97.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/7.963, allocations: 2.219 MB / 4.746 GB, free: 96.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/7.965, allocations: 164.6 kB / 4.746 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/7.965, allocations: 63.33 kB / 4.747 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.57e-06/7.965, allocations: 3.219 kB / 4.747 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002086/7.967, allocations: 1.04 MB / 4.748 GB, free: 96.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/7.967, allocations: 13.5 kB / 4.748 GB, free: 96.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/7.967, allocations: 110.5 kB / 4.748 GB, free: 96.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/7.968, allocations: 243.3 kB / 4.748 GB, free: 96.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/7.97, allocations: 1.637 MB / 4.749 GB, free: 94.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/7.971, allocations: 140.7 kB / 4.75 GB, free: 94.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/7.971, allocations: 51 kB / 4.75 GB, free: 94.76 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 (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.0002403/7.971, allocations: 145.9 kB / 4.75 GB, free: 94.65 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/7.972, allocations: 184.2 kB / 4.75 GB, free: 94.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/7.974, allocations: 1.1 MB / 4.751 GB, free: 94.47 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/7.974, allocations: 13.25 kB / 4.751 GB, free: 94.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/7.974, allocations: 0 / 4.751 GB, free: 94.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/7.976, allocations: 0.9109 MB / 4.752 GB, free: 94.28 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/7.98, allocations: 2.63 MB / 4.755 GB, free: 93.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/7.98, allocations: 1.969 kB / 4.755 GB, free: 93.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/7.981, allocations: 205.7 kB / 4.755 GB, free: 93.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/7.981, allocations: 90.2 kB / 4.755 GB, free: 93.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/7.981, allocations: 12.72 kB / 4.755 GB, free: 93.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/7.983, allocations: 2.209 MB / 4.757 GB, free: 91.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/7.983, allocations: 1.688 kB / 4.757 GB, free: 91.96 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00243/7.986, allocations: 1.681 MB / 4.759 GB, free: 91.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/7.986, allocations: 355.9 kB / 4.759 GB, free: 91.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/7.986, allocations: 6.781 kB / 4.759 GB, free: 91.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/7.988, allocations: 103.2 kB / 4.759 GB, free: 91.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/7.988, allocations: 45.39 kB / 4.759 GB, free: 91.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/7.988, allocations: 32.28 kB / 4.759 GB, free: 91.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.001061/7.989, allocations: 0.9834 MB / 4.76 GB, free: 91.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003771/7.993, allocations: 1.269 MB / 4.761 GB, free: 91.04 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 (77): * Single equations (assignments): 75 * 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.004441/7.997, allocations: 4.394 MB / 4.766 GB, free: 89.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002376/7.999, allocations: 1.677 MB / 4.767 GB, free: 89.06 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/7.999, allocations: 0 / 4.767 GB, free: 89.06 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006097/8, allocations: 0.5166 MB / 4.768 GB, free: 88.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/8.003, allocations: 0.8448 MB / 4.769 GB, free: 88.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/8.007, allocations: 2.735 MB / 4.771 GB, free: 88.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/8.009, allocations: 1.77 MB / 4.773 GB, free: 87.48 MB / 0.9167 GB Notification: Performance of SimCode: time 2.81e-07/8.009, allocations: 0 / 4.773 GB, free: 87.48 MB / 0.9167 GB Notification: Performance of Templates: time 0.07801/8.087, allocations: 58.75 MB / 4.83 GB, free: 84.05 MB / 0.9167 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