Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.187/1.187, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.0009303/0.0009303, allocations: 177.2 kB / 316 MB, free: 3.59 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.058/1.058, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008598/0.0008598, allocations: 79.34 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.52e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1501, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9044/1.055, allocations: 434.7 MB / 1.309 GB, free: 312.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.055, allocations: 94.77 kB / 1.309 GB, free: 312.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.718/4.772, allocations: 1.386 GB / 2.695 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000518/4.773, allocations: 101.6 kB / 2.695 GB, free: 105.6 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: 478 * Number of variables: 478 Notification: Performance of Generate backend data structure: time 0.008765/4.782, allocations: 3.819 MB / 2.699 GB, free: 104 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/4.782, allocations: 6.312 kB / 2.699 GB, free: 104 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006834/4.789, allocations: 1.254 MB / 2.7 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06226/4.851, allocations: 30.56 MB / 2.73 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-05/4.851, allocations: 66.56 kB / 2.73 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/4.851, allocations: 133.6 kB / 2.73 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00316/4.855, allocations: 2.141 MB / 2.733 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/4.858, allocations: 2.356 MB / 2.735 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/4.858, allocations: 3.312 kB / 2.735 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/4.858, allocations: 4.688 kB / 2.735 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/4.858, allocations: 47.09 kB / 2.735 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/4.874, allocations: 12.59 MB / 2.747 GB, free: 96.95 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/4.876, allocations: 1.789 MB / 2.749 GB, free: 96.91 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008265/4.877, allocations: 0.8711 MB / 2.75 GB, free: 96.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00699/4.884, allocations: 5.602 MB / 2.755 GB, free: 95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/4.884, allocations: 52.89 kB / 2.755 GB, free: 94.96 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=73): time 2.325e-06/4.884, allocations: 0 / 2.755 GB, free: 94.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=73): time 0.004995/4.889, allocations: 2.494 MB / 2.758 GB, free: 94.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/4.889, allocations: 62.53 kB / 2.758 GB, free: 94.59 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/4.895, allocations: 4.705 MB / 2.762 GB, free: 94.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/4.896, allocations: 29.17 kB / 2.762 GB, free: 94.23 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/4.896, allocations: 1.156 MB / 2.764 GB, free: 93.69 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/4.897, allocations: 253.4 kB / 2.764 GB, free: 93.53 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/4.897, allocations: 0 / 2.764 GB, free: 93.53 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/4.897, allocations: 388.8 kB / 2.764 GB, free: 93.22 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/4.898, allocations: 1.004 MB / 2.765 GB, free: 93.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/4.899, allocations: 2.064 MB / 2.767 GB, free: 91.87 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/4.902, allocations: 1.459 MB / 2.769 GB, free: 91.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/4.902, allocations: 10.62 kB / 2.769 GB, free: 91.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007065/4.91, allocations: 3.626 MB / 2.772 GB, free: 91.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001972/4.912, allocations: 14.25 MB / 2.786 GB, free: 76.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/4.912, allocations: 35.62 kB / 2.786 GB, free: 76.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/4.912, allocations: 297.2 kB / 2.786 GB, free: 76.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/4.915, allocations: 0.5315 MB / 2.787 GB, free: 76.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004082/4.919, allocations: 6.09 MB / 2.793 GB, free: 72.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/4.922, allocations: 295.5 kB / 2.793 GB, free: 72.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/4.923, allocations: 215.8 kB / 2.793 GB, free: 72.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/4.923, allocations: 3.594 kB / 2.793 GB, free: 72.14 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006179/4.929, allocations: 2.821 MB / 2.796 GB, free: 72.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/4.929, allocations: 31.62 kB / 2.796 GB, free: 72.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/4.929, allocations: 298.2 kB / 2.796 GB, free: 72.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/4.931, allocations: 0.5825 MB / 2.797 GB, free: 72.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/4.933, allocations: 2.555 MB / 2.799 GB, free: 69.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/4.936, allocations: 214.7 kB / 2.8 GB, free: 69.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/4.936, allocations: 205.1 kB / 2.8 GB, free: 69.9 MB / 0.9167 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.000541/4.936, allocations: 192.3 kB / 2.8 GB, free: 69.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/4.937, allocations: 391.8 kB / 2.8 GB, free: 69.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005789/4.943, allocations: 2.624 MB / 2.803 GB, free: 69.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/4.943, allocations: 17.78 kB / 2.803 GB, free: 69.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/4.943, allocations: 0 / 2.803 GB, free: 69.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/4.943, allocations: 9.719 kB / 2.803 GB, free: 69.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008223/4.951, allocations: 5.301 MB / 2.808 GB, free: 68.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/4.951, allocations: 0 / 2.808 GB, free: 68.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009487/4.952, allocations: 185.4 kB / 2.808 GB, free: 68.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006991/4.953, allocations: 368 kB / 2.809 GB, free: 68.89 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/4.953, allocations: 32.5 kB / 2.809 GB, free: 68.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/4.955, allocations: 5.054 MB / 2.814 GB, free: 64.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/4.955, allocations: 10 kB / 2.814 GB, free: 64.6 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004093/4.959, allocations: 2.315 MB / 2.816 GB, free: 63.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/4.961, allocations: 0.891 MB / 2.817 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000563/4.961, allocations: 7.625 kB / 2.817 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/4.963, allocations: 107.4 kB / 2.817 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/4.963, allocations: 63.98 kB / 2.817 GB, free: 63.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/4.963, allocations: 74.59 kB / 2.817 GB, free: 63.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.004144/4.967, allocations: 3.502 MB / 2.82 GB, free: 63.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004536/4.972, allocations: 1.79 MB / 2.822 GB, free: 63.21 MB / 0.9167 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.002226/4.974, allocations: 1.989 MB / 2.824 GB, free: 62.66 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006307/4.98, allocations: 3.883 MB / 2.828 GB, free: 62.53 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/4.98, allocations: 0 / 2.828 GB, free: 62.53 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/4.982, allocations: 0.7356 MB / 2.829 GB, free: 62.51 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006093/4.988, allocations: 1.805 MB / 2.83 GB, free: 62.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008565/4.996, allocations: 5.504 MB / 2.836 GB, free: 61.19 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002846/4.999, allocations: 2.959 MB / 2.839 GB, free: 60.4 MB / 0.9167 GB Notification: Performance of SimCode: time 8.41e-07/4.999, allocations: 0 / 2.839 GB, free: 60.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.135/5.134, allocations: 101.3 MB / 2.938 GB, free: 20.95 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_MoverParameter.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches