Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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.SpeedControlled_y,tolerance=1e-08,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.SpeedControlled_y") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,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.SpeedControlled_y") [: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.191/1.191, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.0009069/0.000907, allocations: 181.2 kB / 316 MB, free: 3.523 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.079/1.079, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0008338/0.0008338, allocations: 86.59 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.783e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1576, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.624/3.781, allocations: 2.231 GB / 3.116 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/3.782, allocations: 94.23 kB / 3.116 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.799/7.581, allocations: 1.487 GB / 4.603 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002108/7.581, allocations: 64.14 kB / 4.603 GB, free: 3.672 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.005096/7.586, allocations: 2.585 MB / 4.606 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/7.586, allocations: 8.031 kB / 4.606 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/7.592, allocations: 0.8942 MB / 4.607 GB, free: 128 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3121/7.904, allocations: 3.064 MB / 4.61 GB, free: 179 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/7.904, allocations: 50.25 kB / 4.61 GB, free: 179 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/7.904, allocations: 90.12 kB / 4.61 GB, free: 179 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002082/7.906, allocations: 1.343 MB / 4.611 GB, free: 179 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/7.908, allocations: 1.509 MB / 4.613 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/7.908, allocations: 1.781 kB / 4.613 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/7.908, allocations: 7.188 kB / 4.613 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/7.908, allocations: 47.53 kB / 4.613 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009216/7.918, allocations: 7.822 MB / 4.62 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/7.919, allocations: 0.9897 MB / 4.621 GB, free: 175 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/7.92, allocations: 0.5997 MB / 4.622 GB, free: 175 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/7.92, allocations: 290.5 kB / 4.622 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/7.92, allocations: 41.19 kB / 4.622 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=85): time 3.787e-06/7.92, allocations: 2.156 kB / 4.622 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85): time 0.003882/7.924, allocations: 1.388 MB / 4.624 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/7.924, allocations: 63.16 kB / 4.624 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/7.926, allocations: 1.374 MB / 4.625 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/7.926, allocations: 25.7 kB / 4.625 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/7.926, allocations: 0.6345 MB / 4.626 GB, free: 174 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/7.926, allocations: 283.9 kB / 4.626 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/7.926, allocations: 0 / 4.626 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/7.926, allocations: 355.2 kB / 4.626 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/7.927, allocations: 419.8 kB / 4.627 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/7.928, allocations: 0.8393 MB / 4.628 GB, free: 173 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/7.929, allocations: 0.593 MB / 4.628 GB, free: 173 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/7.929, allocations: 0 / 4.628 GB, free: 173 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003319/7.932, allocations: 1.638 MB / 4.63 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006176/7.933, allocations: 3.852 MB / 4.633 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/7.933, allocations: 7.562 kB / 4.634 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/7.934, allocations: 313.9 kB / 4.634 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/7.935, allocations: 253.7 kB / 4.634 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/7.938, allocations: 3.626 MB / 4.638 GB, free: 166 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/7.94, allocations: 173.3 kB / 4.638 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/7.94, allocations: 87.59 kB / 4.638 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/7.94, allocations: 3.625 kB / 4.638 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003095/7.943, allocations: 1.321 MB / 4.639 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/7.943, allocations: 15.33 kB / 4.639 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/7.944, allocations: 311 kB / 4.639 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008566/7.945, allocations: 234.6 kB / 4.64 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005525/7.95, allocations: 4.934 MB / 4.644 GB, free: 162.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/7.952, allocations: 141.2 kB / 4.645 GB, free: 162.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/7.952, allocations: 69.48 kB / 4.645 GB, free: 162.5 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 (118): * Single equations (assignments): 112 * 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: 3 * 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: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003103/7.953, allocations: 151.5 kB / 4.645 GB, free: 162.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/7.953, allocations: 193.9 kB / 4.645 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/7.956, allocations: 1.4 MB / 4.646 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/7.956, allocations: 10.09 kB / 4.646 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/7.956, allocations: 2.562 kB / 4.646 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00231/7.958, allocations: 1.157 MB / 4.648 GB, free: 162 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/7.963, allocations: 2.901 MB / 4.65 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/7.963, allocations: 0 / 4.65 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/7.964, allocations: 197.5 kB / 4.651 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005651/7.965, allocations: 220.9 kB / 4.651 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/7.965, allocations: 22.45 kB / 4.651 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/7.967, allocations: 3.47 MB / 4.654 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/7.967, allocations: 4.312 kB / 4.654 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003188/7.971, allocations: 1.981 MB / 4.656 GB, free: 158.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/7.971, allocations: 370 kB / 4.656 GB, free: 158 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/7.972, allocations: 14.06 kB / 4.656 GB, free: 158 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/7.973, allocations: 105.8 kB / 4.657 GB, free: 158 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/7.973, allocations: 51.61 kB / 4.657 GB, free: 158 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/7.973, allocations: 42.19 kB / 4.657 GB, free: 158 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.001364/7.974, allocations: 1.03 MB / 4.658 GB, free: 157.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003992/7.978, allocations: 1.42 MB / 4.659 GB, free: 157.8 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 (73): * Single equations (assignments): 69 * 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: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004783/7.983, allocations: 4.675 MB / 4.664 GB, free: 156.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00336/7.987, allocations: 2.084 MB / 4.666 GB, free: 155.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/7.987, allocations: 0 / 4.666 GB, free: 155.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000836/7.987, allocations: 0.5922 MB / 4.666 GB, free: 155.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/7.991, allocations: 0.8666 MB / 4.667 GB, free: 155.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/7.996, allocations: 2.895 MB / 4.67 GB, free: 155 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/7.997, allocations: 1.816 MB / 4.672 GB, free: 154.2 MB / 0.9167 GB Notification: Performance of SimCode: time 8.22e-07/7.997, allocations: 0 / 4.672 GB, free: 154.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.08766/8.085, allocations: 65.29 MB / 4.735 GB, free: 152.7 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_SpeedControlled_y.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches