Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") [: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.722/1.722, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.00088/0.00088, allocations: 181.2 kB / 490.8 MB, free: 1.941 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.63 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.0008059/0.0008059, allocations: 89.38 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.69e-06/5.801e-06, allocations: 7.938 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4933/0.6588, allocations: 221.2 MB / 1.428 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.659, allocations: 95.31 kB / 1.428 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.2457/0.9047, allocations: 124.1 MB / 1.549 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.824e-05/0.9048, allocations: 39.98 kB / 1.549 GB, free: 14.54 MB / 0.9636 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.002768/0.9076, allocations: 1.653 MB / 1.55 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.9076, allocations: 12.03 kB / 1.551 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.918, allocations: 1.605 MB / 1.552 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/0.9222, allocations: 2.107 MB / 1.554 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.9223, allocations: 43.94 kB / 1.554 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.9225, allocations: 68 kB / 1.554 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002409/0.9249, allocations: 1.711 MB / 1.556 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.9276, allocations: 2.1 MB / 1.558 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.9277, allocations: 11.92 kB / 1.558 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.9278, allocations: 4 kB / 1.558 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/0.9279, allocations: 90.28 kB / 1.558 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.9408, allocations: 10.33 MB / 1.568 GB, free: 9.934 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.9428, allocations: 1.435 MB / 1.57 GB, free: 8.473 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.9438, allocations: 0.9018 MB / 1.57 GB, free: 7.566 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.588e-05/0.9439, allocations: 8.781 kB / 1.57 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.9439, allocations: 51.34 kB / 1.57 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 1.793e-06/0.9439, allocations: 0 / 1.57 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.01562/0.9595, allocations: 6.994 MB / 1.577 GB, free: 472 kB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.9596, allocations: 226.9 kB / 1.578 GB, free: 196 kB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008892/0.9605, allocations: 0.8053 MB / 1.578 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.9606, allocations: 25.7 kB / 1.578 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.9609, allocations: 0.5316 MB / 1.579 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/0.9613, allocations: 0.5041 MB / 1.579 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.9614, allocations: 0 / 1.579 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9615, allocations: 365.9 kB / 1.58 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.9629, allocations: 1.129 MB / 1.581 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.9644, allocations: 1.411 MB / 1.582 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.9661, allocations: 1.302 MB / 1.583 GB, free: 9.988 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.9661, allocations: 4 kB / 1.583 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009781/0.9759, allocations: 4.514 MB / 1.588 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.976, allocations: 4 kB / 1.588 GB, free: 5.426 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.976, allocations: 8 kB / 1.588 GB, free: 5.418 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008217/0.9842, allocations: 2.086 MB / 1.59 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.986, allocations: 335.4 kB / 1.59 GB, free: 2.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02403/1.01, allocations: 20.9 MB / 1.611 GB, free: 13.16 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/1.012, allocations: 219.6 kB / 1.611 GB, free: 12.95 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.012, allocations: 59.97 kB / 1.611 GB, free: 12.89 MB / 1.026 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002977/1.013, allocations: 130.1 kB / 1.611 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/1.013, allocations: 166.1 kB / 1.611 GB, free: 12.59 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.023, allocations: 4.642 MB / 1.616 GB, free: 7.914 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/1.023, allocations: 16 kB / 1.616 GB, free: 7.898 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/1.023, allocations: 20 kB / 1.616 GB, free: 7.879 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.023, allocations: 11.97 kB / 1.616 GB, free: 7.867 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/1.036, allocations: 6.635 MB / 1.622 GB, free: 1.121 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.036, allocations: 4 kB / 1.622 GB, free: 1.117 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.037, allocations: 283.7 kB / 1.623 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007495/1.045, allocations: 1.933 MB / 1.624 GB, free: 14.89 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.045, allocations: 23.95 kB / 1.624 GB, free: 14.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/1.068, allocations: 19.98 MB / 1.644 GB, free: 9.961 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.068, allocations: 8.062 kB / 1.644 GB, free: 9.953 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00869/1.076, allocations: 4.36 MB / 1.648 GB, free: 5.469 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007425/1.077, allocations: 499 kB / 1.649 GB, free: 4.961 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/1.077, allocations: 7.938 kB / 1.649 GB, free: 4.953 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.079, allocations: 215.7 kB / 1.649 GB, free: 4.742 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.08, allocations: 81.2 kB / 1.649 GB, free: 4.664 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.08, allocations: 55.95 kB / 1.649 GB, free: 4.609 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.00065/1.08, allocations: 0.6096 MB / 1.65 GB, free: 3.996 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001476/1.082, allocations: 0.5898 MB / 1.65 GB, free: 3.406 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003643/1.082, allocations: 186.2 kB / 1.65 GB, free: 3.215 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006316/1.089, allocations: 4.039 MB / 1.654 GB, free: 15.1 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.089, allocations: 4.125 kB / 1.654 GB, free: 15.09 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004436/1.093, allocations: 2.631 MB / 1.657 GB, free: 12.38 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/1.095, allocations: 425.6 kB / 1.657 GB, free: 11.97 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/1.101, allocations: 3.238 MB / 1.66 GB, free: 8.652 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.102, allocations: 1.624 MB / 1.662 GB, free: 7 MB / 1.073 GB Notification: Performance of SimCode: time 1.293e-06/1.102, allocations: 0 / 1.662 GB, free: 7 MB / 1.073 GB Notification: Performance of Templates: time 0.05498/1.157, allocations: 44.98 MB / 1.706 GB, free: 10.38 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches