Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [: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 10.0.0-master/package.mo): time 1.691/1.691, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0008933/0.0008933, allocations: 181.3 kB / 490.8 MB, free: 1.945 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.055/1.055, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008096/0.0008097, allocations: 90.61 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.522e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1635, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.6532, allocations: 218.6 MB / 1.425 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.6535, allocations: 101.4 kB / 1.425 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.2411/0.8946, allocations: 122.6 MB / 1.545 GB, free: 2.555 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.681e-05/0.8947, allocations: 39.98 kB / 1.545 GB, free: 2.516 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002451/0.8972, allocations: 1.614 MB / 1.547 GB, free: 0.8516 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.8972, allocations: 8.031 kB / 1.547 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009811/0.907, allocations: 1.527 MB / 1.548 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.909, allocations: 1.232 MB / 1.549 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.9091, allocations: 40 kB / 1.549 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.9093, allocations: 71.98 kB / 1.549 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002436/0.9117, allocations: 1.754 MB / 1.551 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.9144, allocations: 2.108 MB / 1.553 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.9145, allocations: 11.94 kB / 1.553 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.9146, allocations: 8 kB / 1.553 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.202e-05/0.9147, allocations: 82.28 kB / 1.553 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.9272, allocations: 10.34 MB / 1.563 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.9294, allocations: 1.652 MB / 1.565 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.9304, allocations: 0.9051 MB / 1.566 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/0.9305, allocations: 16.77 kB / 1.566 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.9306, allocations: 47.34 kB / 1.566 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 1.783e-06/0.9306, allocations: 0 / 1.566 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131): time 0.01205/0.9426, allocations: 5.791 MB / 1.571 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.9427, allocations: 230.9 kB / 1.572 GB, free: 6.031 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.9435, allocations: 0.7623 MB / 1.572 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.9436, allocations: 25.7 kB / 1.572 GB, free: 5.227 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.9439, allocations: 0.5307 MB / 1.573 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.9442, allocations: 433.4 kB / 1.573 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.9443, allocations: 0 / 1.573 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9444, allocations: 361.9 kB / 1.574 GB, free: 3.898 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.9456, allocations: 0.9593 MB / 1.575 GB, free: 2.938 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.9469, allocations: 1.23 MB / 1.576 GB, free: 1.609 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.9484, allocations: 1.111 MB / 1.577 GB, free: 0.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9484, allocations: 0 / 1.577 GB, free: 0.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007662/0.9561, allocations: 3.68 MB / 1.581 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.9561, allocations: 8.031 kB / 1.581 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.9562, allocations: 8 kB / 1.581 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006349/0.9625, allocations: 1.572 MB / 1.582 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.9644, allocations: 359.5 kB / 1.582 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02142/0.9858, allocations: 23.32 MB / 1.605 GB, free: 1.969 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.9879, allocations: 199.7 kB / 1.605 GB, free: 1.773 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.988, allocations: 59.95 kB / 1.605 GB, free: 1.715 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002712/0.9883, allocations: 134.1 kB / 1.606 GB, free: 1.578 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.9885, allocations: 146.2 kB / 1.606 GB, free: 1.434 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008083/0.9966, allocations: 3.786 MB / 1.609 GB, free: 13.59 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.9967, allocations: 23.94 kB / 1.609 GB, free: 13.57 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.9967, allocations: 12 kB / 1.609 GB, free: 13.56 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.9967, allocations: 7.969 kB / 1.609 GB, free: 13.55 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.008, allocations: 6.027 MB / 1.615 GB, free: 7.379 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.008, allocations: 4.344 kB / 1.615 GB, free: 7.375 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.009, allocations: 315.5 kB / 1.616 GB, free: 7.066 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005829/1.015, allocations: 1.463 MB / 1.617 GB, free: 5.562 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.015, allocations: 19.88 kB / 1.617 GB, free: 5.543 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/1.035, allocations: 22.37 MB / 1.639 GB, free: 13.68 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.035, allocations: 0 / 1.639 GB, free: 13.68 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007021/1.042, allocations: 3.67 MB / 1.643 GB, free: 9.863 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/1.043, allocations: 455.2 kB / 1.643 GB, free: 9.398 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/1.043, allocations: 4 kB / 1.643 GB, free: 9.395 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.045, allocations: 207.7 kB / 1.643 GB, free: 9.191 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.045, allocations: 68.8 kB / 1.643 GB, free: 9.125 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.046, allocations: 47.97 kB / 1.643 GB, free: 9.078 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0006309/1.046, allocations: 0.5762 MB / 1.644 GB, free: 8.496 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001537/1.048, allocations: 0.5155 MB / 1.644 GB, free: 7.98 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002632/1.048, allocations: 138.9 kB / 1.645 GB, free: 7.84 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.005684/1.054, allocations: 4.061 MB / 1.648 GB, free: 3.641 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.054, allocations: 0 / 1.648 GB, free: 3.641 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004144/1.058, allocations: 2.846 MB / 1.651 GB, free: 0.6641 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.059, allocations: 426 kB / 1.652 GB, free: 260 kB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/1.065, allocations: 2.92 MB / 1.655 GB, free: 13.25 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.066, allocations: 1.561 MB / 1.656 GB, free: 11.66 MB / 1.073 GB Notification: Performance of SimCode: time 6.71e-07/1.066, allocations: 0 / 1.656 GB, free: 11.66 MB / 1.073 GB Notification: Performance of Templates: time 0.04613/1.112, allocations: 39.02 MB / 1.694 GB, free: 4.977 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches