Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_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 9.1.1-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001246/0.001246, allocations: 185.2 kB / 487 MB, free: 5.395 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.447/1.447, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.001081/0.001081, allocations: 94.56 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.494e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2819, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.106/4.388, allocations: 1.947 GB / 3.153 GB, free: 359.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/4.388, allocations: 91.89 kB / 3.153 GB, free: 359.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.653/7.041, allocations: 0.8122 GB / 3.965 GB, free: 231.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001741/7.041, allocations: 46.78 kB / 3.965 GB, free: 231.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004672/7.046, allocations: 1.831 MB / 3.967 GB, free: 230.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/7.046, allocations: 7.656 kB / 3.967 GB, free: 230.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003693/7.049, allocations: 0.5472 MB / 3.967 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/7.054, allocations: 1.891 MB / 3.969 GB, free: 230.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/7.054, allocations: 30.84 kB / 3.969 GB, free: 230.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/7.054, allocations: 66.67 kB / 3.969 GB, free: 230.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001628/7.056, allocations: 0.8764 MB / 3.97 GB, free: 230.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/7.058, allocations: 1.022 MB / 3.971 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/7.058, allocations: 3.906 kB / 3.971 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/7.058, allocations: 3.562 kB / 3.971 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/7.058, allocations: 38.28 kB / 3.971 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007519/7.065, allocations: 5.17 MB / 3.976 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/7.067, allocations: 0.7637 MB / 3.977 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/7.067, allocations: 451.2 kB / 3.977 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/7.068, allocations: 192.2 kB / 3.978 GB, free: 227.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000634/7.068, allocations: 451.6 kB / 3.978 GB, free: 227.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 3.847e-06/7.068, allocations: 0 / 3.978 GB, free: 227.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.002782/7.071, allocations: 0.9249 MB / 3.979 GB, free: 227.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/7.071, allocations: 113.9 kB / 3.979 GB, free: 227.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/7.073, allocations: 0.8895 MB / 3.98 GB, free: 227.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/7.073, allocations: 29.36 kB / 3.98 GB, free: 227 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/7.073, allocations: 443.9 kB / 3.98 GB, free: 226.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/7.074, allocations: 243.9 kB / 3.981 GB, free: 226.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/7.074, allocations: 0 / 3.981 GB, free: 226.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.714e-05/7.074, allocations: 336.5 kB / 3.981 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/7.074, allocations: 317.5 kB / 3.981 GB, free: 226.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/7.075, allocations: 0.5682 MB / 3.982 GB, free: 226.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008801/7.076, allocations: 418.2 kB / 3.982 GB, free: 226.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/7.076, allocations: 3.906 kB / 3.982 GB, free: 226.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001991/7.078, allocations: 1.049 MB / 3.983 GB, free: 226 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004256/7.078, allocations: 2.036 MB / 3.985 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/7.078, allocations: 7.125 kB / 3.985 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/7.078, allocations: 102.9 kB / 3.985 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/7.08, allocations: 226.8 kB / 3.986 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000838/7.08, allocations: 1.293 MB / 3.987 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/7.082, allocations: 135.8 kB / 3.987 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/7.082, allocations: 52.06 kB / 3.987 GB, free: 222.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/7.082, allocations: 3.719 kB / 3.987 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001861/7.084, allocations: 0.8577 MB / 3.988 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/7.084, allocations: 3.719 kB / 3.988 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/7.085, allocations: 104.7 kB / 3.988 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/7.085, allocations: 214.2 kB / 3.988 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/7.089, allocations: 2.625 MB / 3.991 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/7.091, allocations: 130 kB / 3.991 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/7.091, allocations: 45.52 kB / 3.991 GB, free: 221.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003581/7.092, allocations: 131.1 kB / 3.991 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/7.092, allocations: 133.9 kB / 3.991 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/7.094, allocations: 0.8983 MB / 3.992 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/7.094, allocations: 11.5 kB / 3.992 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/7.094, allocations: 3.062 kB / 3.992 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/7.096, allocations: 0.7986 MB / 3.993 GB, free: 220.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004178/7.1, allocations: 2.079 MB / 3.995 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/7.1, allocations: 0 / 3.995 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/7.101, allocations: 181.5 kB / 3.995 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001795/7.101, allocations: 55.67 kB / 3.995 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-05/7.101, allocations: 18.73 kB / 3.995 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/7.102, allocations: 1.205 MB / 3.996 GB, free: 219.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/7.102, allocations: 2.625 kB / 3.996 GB, free: 219.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002137/7.104, allocations: 1.401 MB / 3.998 GB, free: 218.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007476/7.105, allocations: 288.6 kB / 3.998 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/7.105, allocations: 9.484 kB / 3.998 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/7.106, allocations: 87.89 kB / 3.998 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/7.106, allocations: 46.86 kB / 3.998 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/7.106, allocations: 30.56 kB / 3.998 GB, free: 218.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001213/7.108, allocations: 0.6755 MB / 3.999 GB, free: 218.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003457/7.111, allocations: 0.9646 MB / 4 GB, free: 218.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004268/7.115, allocations: 2.875 MB / 4.002 GB, free: 217.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00297/7.118, allocations: 1.46 MB / 4.004 GB, free: 217.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/7.118, allocations: 3.969 kB / 4.004 GB, free: 217.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/7.119, allocations: 392 kB / 4.004 GB, free: 217.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/7.122, allocations: 0.5336 MB / 4.005 GB, free: 217.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/7.127, allocations: 2.059 MB / 4.007 GB, free: 216.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/7.128, allocations: 1.42 MB / 4.008 GB, free: 216.2 MB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/7.129, allocations: 0 / 4.008 GB, free: 216.2 MB / 1.151 GB Notification: Performance of Templates: time 0.06468/7.193, allocations: 43.12 MB / 4.05 GB, free: 215.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches