Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [: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 1.758/1.758, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009681/0.000968, allocations: 188.6 kB / 487 MB, free: 5.371 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.112/1.112, allocations: 221.3 MB / 0.7819 GB, free: 1.266 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.000824/0.000824, allocations: 90.44 kB / 0.9213 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.24e-06, allocations: 0 / 1.066 GB, free: 186.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1883, allocations: 142.3 MB / 1.205 GB, free: 44.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5206/0.709, allocations: 192.1 MB / 1.393 GB, free: 13.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.7092, allocations: 95.8 kB / 1.393 GB, free: 13.04 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.06839/0.7776, allocations: 33.76 MB / 1.426 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.524e-05/0.7777, allocations: 20 kB / 1.426 GB, free: 3.988 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001088/0.7788, allocations: 0.7997 MB / 1.427 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.7788, allocations: 9.031 kB / 1.427 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.7802, allocations: 201.7 kB / 1.427 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.781, allocations: 493.3 kB / 1.427 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.781, allocations: 20 kB / 1.427 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.7812, allocations: 35.06 kB / 1.427 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006636/0.7819, allocations: 482.7 kB / 1.428 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.7828, allocations: 0.8008 MB / 1.429 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.7828, allocations: 11.84 kB / 1.429 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.7828, allocations: 4 kB / 1.429 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.7829, allocations: 48.16 kB / 1.429 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.7864, allocations: 4.495 MB / 1.433 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.7868, allocations: 276.5 kB / 1.433 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.787, allocations: 223.8 kB / 1.434 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.787, allocations: 3.984 kB / 1.434 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.7871, allocations: 41.75 kB / 1.434 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.532e-06/0.7871, allocations: 0 / 1.434 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.003427/0.7905, allocations: 2.008 MB / 1.436 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.7905, allocations: 55.41 kB / 1.436 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.7908, allocations: 338 kB / 1.436 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.7909, allocations: 25.7 kB / 1.436 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.791, allocations: 280.7 kB / 1.436 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/0.7911, allocations: 139.8 kB / 1.436 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.7911, allocations: 3.938 kB / 1.436 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7912, allocations: 355.9 kB / 1.437 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.7915, allocations: 227.4 kB / 1.437 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.7919, allocations: 377.1 kB / 1.437 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.7922, allocations: 289.2 kB / 1.438 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7922, allocations: 0 / 1.438 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001376/0.7936, allocations: 0.8441 MB / 1.438 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.7936, allocations: 4 kB / 1.438 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.7936, allocations: 4 kB / 1.438 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007271/0.7944, allocations: 223.7 kB / 1.439 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.7949, allocations: 103.5 kB / 1.439 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.7987, allocations: 4.631 MB / 1.443 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.7991, allocations: 11.98 kB / 1.443 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.7991, allocations: 18.88 kB / 1.443 GB, free: 3.477 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.7993, allocations: 120.9 kB / 1.443 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.7993, allocations: 55.34 kB / 1.443 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.8006, allocations: 0.7377 MB / 1.444 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.8006, allocations: 4 kB / 1.444 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8006, allocations: 7.906 kB / 1.444 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.8007, allocations: 3.984 kB / 1.444 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.8026, allocations: 1.37 MB / 1.445 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8026, allocations: 4.188 kB / 1.445 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.803, allocations: 67.08 kB / 1.446 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/0.8036, allocations: 206.1 kB / 1.446 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.8037, allocations: 4 kB / 1.446 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/0.8073, allocations: 4.54 MB / 1.45 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8073, allocations: 7.938 kB / 1.45 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001493/0.8088, allocations: 1.191 MB / 1.451 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.809, allocations: 175.5 kB / 1.452 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/0.8091, allocations: 4 kB / 1.452 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.8094, allocations: 7.984 kB / 1.452 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.8095, allocations: 27.59 kB / 1.452 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.8095, allocations: 11.5 kB / 1.452 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002021/0.8097, allocations: 254.2 kB / 1.452 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005484/0.8103, allocations: 155.9 kB / 1.452 GB, free: 11.24 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.8104, allocations: 116.6 kB / 1.452 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.8116, allocations: 0.9184 MB / 1.453 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8117, allocations: 0 / 1.453 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007682/0.8124, allocations: 0.6177 MB / 1.454 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.8131, allocations: 137.9 kB / 1.454 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.8146, allocations: 0.9653 MB / 1.455 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.8151, allocations: 0.985 MB / 1.456 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.8151, allocations: 3.938 kB / 1.456 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of Templates: time 0.01261/0.8277, allocations: 8.157 MB / 1.464 GB, free: 15.72 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches