Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.MoverParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter") translateModel(Buildings.Fluid.Movers.Examples.MoverParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter") [: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 9.1.1-maint.9.1.x/package.mo): time 2.016/2.016, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 181.2 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 96.66 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.494e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2635, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.305, allocations: 439.9 MB / 1.635 GB, free: 15.83 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.305, allocations: 93.95 kB / 1.635 GB, free: 15.79 MB / 1.073 GB Notification: Performance of FrontEnd: time 5.458/6.763, allocations: 1.447 GB / 3.082 GB, free: 157 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.00097/6.764, allocations: 100.8 kB / 3.082 GB, free: 157 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 478 * Number of variables: 478 Notification: Performance of Generate backend data structure: time 0.01364/6.778, allocations: 3.824 MB / 3.086 GB, free: 155.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/6.778, allocations: 9.906 kB / 3.086 GB, free: 155.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/6.789, allocations: 1.633 MB / 3.087 GB, free: 155.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07703/6.866, allocations: 31.85 MB / 3.119 GB, free: 153.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/6.866, allocations: 63 kB / 3.119 GB, free: 153.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009711/6.867, allocations: 133 kB / 3.119 GB, free: 153.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005124/6.872, allocations: 2.181 MB / 3.121 GB, free: 153.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004858/6.877, allocations: 2.402 MB / 3.123 GB, free: 153.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/6.877, allocations: 0 / 3.123 GB, free: 153.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/6.877, allocations: 3.438 kB / 3.123 GB, free: 153.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/6.878, allocations: 50.38 kB / 3.123 GB, free: 153.1 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02241/6.9, allocations: 12.84 MB / 3.136 GB, free: 148.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/6.902, allocations: 1.831 MB / 3.138 GB, free: 148.4 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/6.903, allocations: 0.8957 MB / 3.138 GB, free: 148.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009141/6.913, allocations: 5.753 MB / 3.144 GB, free: 146.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/6.913, allocations: 34.91 kB / 3.144 GB, free: 146.5 MB / 1.182 GB Notification: Performance of pre-optimization done (n=73): time 3.146e-06/6.913, allocations: 3.906 kB / 3.144 GB, free: 146.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=73): time 0.006148/6.919, allocations: 2.525 MB / 3.147 GB, free: 146.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/6.919, allocations: 55.97 kB / 3.147 GB, free: 146.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008312/6.927, allocations: 4.735 MB / 3.151 GB, free: 145.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0005339/6.928, allocations: 28.86 kB / 3.151 GB, free: 145.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008181/6.929, allocations: 1.162 MB / 3.152 GB, free: 145.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/6.929, allocations: 254.1 kB / 3.153 GB, free: 145 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/6.929, allocations: 0 / 3.153 GB, free: 145 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001153/6.929, allocations: 385.8 kB / 3.153 GB, free: 144.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/6.931, allocations: 1.023 MB / 3.154 GB, free: 144.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/6.932, allocations: 2.086 MB / 3.156 GB, free: 143.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/6.936, allocations: 1.471 MB / 3.158 GB, free: 143.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/6.936, allocations: 10.34 kB / 3.158 GB, free: 143.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008136/6.944, allocations: 3.667 MB / 3.161 GB, free: 143 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0027/6.946, allocations: 14.28 MB / 3.175 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.972e-05/6.947, allocations: 29.44 kB / 3.175 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007715/6.947, allocations: 304.8 kB / 3.175 GB, free: 127.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/6.951, allocations: 0.5643 MB / 3.176 GB, free: 127.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004567/6.955, allocations: 6.093 MB / 3.182 GB, free: 123.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/6.961, allocations: 348.6 kB / 3.182 GB, free: 123.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006311/6.961, allocations: 209.7 kB / 3.182 GB, free: 123.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/6.961, allocations: 3.406 kB / 3.182 GB, free: 123.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007458/6.969, allocations: 2.853 MB / 3.185 GB, free: 123 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.221e-05/6.969, allocations: 29.34 kB / 3.185 GB, free: 123 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/6.97, allocations: 304.8 kB / 3.186 GB, free: 123 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/6.972, allocations: 0.6164 MB / 3.186 GB, free: 123 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/6.974, allocations: 2.547 MB / 3.189 GB, free: 120.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/6.977, allocations: 252.8 kB / 3.189 GB, free: 120.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003759/6.978, allocations: 210.2 kB / 3.189 GB, free: 120.8 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.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: 139 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 200 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007325/6.978, allocations: 199.2 kB / 3.189 GB, free: 120.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/6.979, allocations: 401.9 kB / 3.19 GB, free: 120.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006589/6.986, allocations: 2.662 MB / 3.192 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/6.986, allocations: 14.11 kB / 3.192 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/6.986, allocations: 5.875 kB / 3.192 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/6.986, allocations: 7.172 kB / 3.192 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/6.997, allocations: 5.386 MB / 3.197 GB, free: 119.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/6.997, allocations: 0 / 3.197 GB, free: 119.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/6.998, allocations: 208.6 kB / 3.198 GB, free: 119.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000735/6.999, allocations: 374.4 kB / 3.198 GB, free: 119.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-05/6.999, allocations: 25.48 kB / 3.198 GB, free: 119.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/7.001, allocations: 5.065 MB / 3.203 GB, free: 115.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/7.001, allocations: 0 / 3.203 GB, free: 115.6 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005134/7.007, allocations: 2.345 MB / 3.205 GB, free: 114.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/7.009, allocations: 0.8959 MB / 3.206 GB, free: 114.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008583/7.01, allocations: 0 / 3.206 GB, free: 114.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/7.012, allocations: 153 kB / 3.206 GB, free: 114.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/7.012, allocations: 61.22 kB / 3.206 GB, free: 114.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/7.012, allocations: 74.34 kB / 3.206 GB, free: 114.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.006312/7.019, allocations: 3.525 MB / 3.21 GB, free: 114.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008074/7.027, allocations: 1.844 MB / 3.212 GB, free: 114.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 6 {1 3,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003729/7.03, allocations: 2.019 MB / 3.214 GB, free: 113.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.007781/7.038, allocations: 3.935 MB / 3.218 GB, free: 113.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/7.038, allocations: 0 / 3.218 GB, free: 113.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/7.04, allocations: 0.7468 MB / 3.218 GB, free: 113.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008196/7.048, allocations: 1.819 MB / 3.22 GB, free: 113.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/7.059, allocations: 5.555 MB / 3.225 GB, free: 112.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00314/7.063, allocations: 2.973 MB / 3.228 GB, free: 111.4 MB / 1.182 GB Notification: Performance of SimCode: time 1.273e-06/7.063, allocations: 0 / 3.228 GB, free: 111.4 MB / 1.182 GB Notification: Performance of Templates: time 0.1697/7.232, allocations: 103.4 MB / 3.329 GB, free: 105.9 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverParameter.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches