Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.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.MoverContinuous,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.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,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.MoverContinuous") [: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.144/1.144, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009395/0.0009395, allocations: 180 kB / 316 MB, free: 7.234 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.21/1.21, allocations: 205.1 MB / 0.5667 GB, free: 23.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.0008468/0.0008468, allocations: 79.41 kB / 0.671 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.253e-06/7.423e-06, allocations: 4 kB / 0.7807 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3528, allocations: 106.3 MB / 0.8846 GB, free: 76.33 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6368/0.9896, allocations: 434.3 MB / 1.309 GB, free: 3.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.9898, allocations: 90.33 kB / 1.309 GB, free: 3.887 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.058/7.048, allocations: 2.257 GB / 3.565 GB, free: 93.21 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004123/7.048, allocations: 107.7 kB / 3.565 GB, free: 93.19 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.007285/7.055, allocations: 3.866 MB / 3.569 GB, free: 91.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/7.055, allocations: 6.844 kB / 3.569 GB, free: 91.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/7.062, allocations: 1.25 MB / 3.57 GB, free: 91.04 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06089/7.123, allocations: 30.57 MB / 3.6 GB, free: 89.22 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/7.123, allocations: 65.75 kB / 3.6 GB, free: 89.22 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/7.123, allocations: 135.2 kB / 3.6 GB, free: 89.22 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003112/7.126, allocations: 2.166 MB / 3.603 GB, free: 89.21 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/7.129, allocations: 2.386 MB / 3.605 GB, free: 88.89 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/7.13, allocations: 3.469 kB / 3.605 GB, free: 88.89 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/7.13, allocations: 5.062 kB / 3.605 GB, free: 88.89 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/7.13, allocations: 48.03 kB / 3.605 GB, free: 88.89 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/7.146, allocations: 12.72 MB / 3.617 GB, free: 84.21 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/7.148, allocations: 2.051 MB / 3.619 GB, free: 84.18 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/7.149, allocations: 0.9267 MB / 3.62 GB, free: 84.16 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006114/7.155, allocations: 5.048 MB / 3.625 GB, free: 82.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/7.155, allocations: 46.94 kB / 3.625 GB, free: 82.23 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=88): time 2.384e-06/7.155, allocations: 0 / 3.625 GB, free: 82.23 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88): time 0.006175/7.161, allocations: 2.766 MB / 3.628 GB, free: 81.92 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/7.161, allocations: 59.06 kB / 3.628 GB, free: 81.86 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006755/7.168, allocations: 4.655 MB / 3.633 GB, free: 81.54 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002585/7.168, allocations: 27.7 kB / 3.633 GB, free: 81.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/7.169, allocations: 1.126 MB / 3.634 GB, free: 80.98 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/7.169, allocations: 297.6 kB / 3.634 GB, free: 80.79 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/7.169, allocations: 0 / 3.634 GB, free: 80.79 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/7.169, allocations: 380.6 kB / 3.634 GB, free: 80.48 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/7.171, allocations: 1.039 MB / 3.635 GB, free: 80.48 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/7.172, allocations: 2.035 MB / 3.637 GB, free: 79.24 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/7.175, allocations: 1.495 MB / 3.639 GB, free: 79.21 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/7.175, allocations: 13.36 kB / 3.639 GB, free: 79.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006539/7.182, allocations: 3.6 MB / 3.642 GB, free: 78.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001733/7.184, allocations: 12.93 MB / 3.655 GB, free: 64.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/7.184, allocations: 27.72 kB / 3.655 GB, free: 64.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007346/7.185, allocations: 333.9 kB / 3.655 GB, free: 64.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/7.187, allocations: 0.5467 MB / 3.656 GB, free: 64.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0042/7.192, allocations: 6.134 MB / 3.662 GB, free: 60.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/7.195, allocations: 290.7 kB / 3.662 GB, free: 60.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/7.195, allocations: 217.9 kB / 3.662 GB, free: 60.41 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/7.195, allocations: 3.844 kB / 3.662 GB, free: 60.41 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005724/7.201, allocations: 2.707 MB / 3.665 GB, free: 60.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-05/7.201, allocations: 30.28 kB / 3.665 GB, free: 60.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/7.202, allocations: 338.1 kB / 3.665 GB, free: 60.31 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/7.204, allocations: 0.5799 MB / 3.666 GB, free: 60.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/7.206, allocations: 2.606 MB / 3.668 GB, free: 58.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/7.209, allocations: 233 kB / 3.669 GB, free: 58.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/7.209, allocations: 199.9 kB / 3.669 GB, free: 58.11 MB / 0.9323 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.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: 126 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 195 * 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 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000768/7.21, allocations: 208.3 kB / 3.669 GB, free: 57.95 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/7.211, allocations: 388.7 kB / 3.669 GB, free: 57.73 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007699/7.219, allocations: 2.844 MB / 3.672 GB, free: 57.36 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/7.219, allocations: 15 kB / 3.672 GB, free: 57.36 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/7.219, allocations: 0 / 3.672 GB, free: 57.36 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/7.219, allocations: 7.031 kB / 3.672 GB, free: 57.36 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/7.232, allocations: 5.622 MB / 3.678 GB, free: 55.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/7.232, allocations: 0 / 3.678 GB, free: 55.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/7.233, allocations: 225.9 kB / 3.678 GB, free: 55.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007935/7.234, allocations: 414.2 kB / 3.678 GB, free: 54.93 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/7.234, allocations: 28.89 kB / 3.678 GB, free: 54.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/7.237, allocations: 5.122 MB / 3.683 GB, free: 50.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/7.237, allocations: 4.625 kB / 3.683 GB, free: 50.29 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005769/7.242, allocations: 2.559 MB / 3.686 GB, free: 49.14 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/7.244, allocations: 0.9023 MB / 3.687 GB, free: 48.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/7.246, allocations: 0 / 3.687 GB, free: 48.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/7.248, allocations: 149.5 kB / 3.687 GB, free: 48.57 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/7.248, allocations: 70.41 kB / 3.687 GB, free: 48.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/7.248, allocations: 83.66 kB / 3.687 GB, free: 48.54 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.005008/7.253, allocations: 3.472 MB / 3.69 GB, free: 47.08 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005189/7.258, allocations: 1.818 MB / 3.692 GB, free: 46.73 MB / 0.9323 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 (99): * Single equations (assignments): 81 * 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 4,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002491/7.261, allocations: 1.988 MB / 3.694 GB, free: 46.12 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007308/7.268, allocations: 4.002 MB / 3.698 GB, free: 44.82 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/7.268, allocations: 0.5625 kB / 3.698 GB, free: 44.82 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/7.27, allocations: 0.8123 MB / 3.699 GB, free: 44.56 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007281/7.277, allocations: 1.81 MB / 3.701 GB, free: 44.22 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/7.288, allocations: 5.595 MB / 3.706 GB, free: 41.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/7.29, allocations: 2.993 MB / 3.709 GB, free: 39.27 MB / 0.9323 GB Notification: Performance of SimCode: time 5.81e-07/7.29, allocations: 0 / 3.709 GB, free: 39.27 MB / 0.9323 GB Notification: Performance of Templates: time 0.41/7.7, allocations: 103.4 MB / 3.81 GB, free: 163.1 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches