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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.401/2.401, allocations: 390.5 MB / 398 MB, free: 10.94 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.001143/0.001143, allocations: 172.5 kB / 491.2 MB, free: 1.602 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.493/1.493, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009232/0.0009234, allocations: 103.9 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.579e-05, allocations: 7.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3239, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.488, allocations: 221.3 MB / 1.428 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/1.488, allocations: 96.94 kB / 1.429 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.298/1.786, allocations: 124.1 MB / 1.55 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.543e-06/1.786, allocations: 0 / 1.55 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001104/1.787, allocations: 47.98 kB / 1.55 GB, free: 13.58 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.004083/1.791, allocations: 1.644 MB / 1.551 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.791, allocations: 8.031 kB / 1.551 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/1.803, allocations: 1.952 MB / 1.553 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006267/1.809, allocations: 2.068 MB / 1.555 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/1.809, allocations: 36 kB / 1.555 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/1.809, allocations: 75.84 kB / 1.555 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002955/1.812, allocations: 1.652 MB / 1.557 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/1.815, allocations: 2.061 MB / 1.559 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/1.815, allocations: 4 kB / 1.559 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/1.816, allocations: 4 kB / 1.559 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/1.816, allocations: 90.28 kB / 1.559 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/1.832, allocations: 10.44 MB / 1.569 GB, free: 8.676 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/1.834, allocations: 1.482 MB / 1.571 GB, free: 7.164 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/1.836, allocations: 0.8684 MB / 1.572 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/1.836, allocations: 16.72 kB / 1.572 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/1.836, allocations: 43.34 kB / 1.572 GB, free: 6.227 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 3.466e-06/1.836, allocations: 4 kB / 1.572 GB, free: 6.223 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.01712/1.853, allocations: 6.895 MB / 1.578 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/1.853, allocations: 226.9 kB / 1.579 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/1.854, allocations: 0.8013 MB / 1.579 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002444/1.855, allocations: 25.7 kB / 1.579 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/1.855, allocations: 0.7542 MB / 1.58 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005672/1.856, allocations: 0.5003 MB / 1.581 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/1.856, allocations: 0 / 1.581 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.856, allocations: 357.9 kB / 1.581 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/1.858, allocations: 1.097 MB / 1.582 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/1.86, allocations: 1.364 MB / 1.583 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/1.861, allocations: 1.267 MB / 1.585 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.862, allocations: 0 / 1.585 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01053/1.872, allocations: 4.438 MB / 1.589 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/1.872, allocations: 8 kB / 1.589 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.872, allocations: 4.812 kB / 1.589 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008273/1.88, allocations: 2.09 MB / 1.591 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.883, allocations: 419.3 kB / 1.591 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02734/1.91, allocations: 21.75 MB / 1.613 GB, free: 11.04 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/1.913, allocations: 291.5 kB / 1.613 GB, free: 10.75 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/1.913, allocations: 71.89 kB / 1.613 GB, free: 10.68 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.0004144/1.914, allocations: 128.8 kB / 1.613 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/1.914, allocations: 166.7 kB / 1.613 GB, free: 10.39 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.925, allocations: 4.507 MB / 1.618 GB, free: 5.844 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/1.925, allocations: 16 kB / 1.618 GB, free: 5.828 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.919e-05/1.925, allocations: 23.95 kB / 1.618 GB, free: 5.805 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/1.925, allocations: 11.97 kB / 1.618 GB, free: 5.793 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/1.94, allocations: 6.563 MB / 1.624 GB, free: 15.12 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.94, allocations: 0 / 1.624 GB, free: 15.12 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/1.942, allocations: 375.6 kB / 1.624 GB, free: 14.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007747/1.95, allocations: 1.942 MB / 1.626 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/1.95, allocations: 15.97 kB / 1.626 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02613/1.976, allocations: 20.91 MB / 1.647 GB, free: 6.953 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.016e-06/1.976, allocations: 4.031 kB / 1.647 GB, free: 6.949 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009804/1.986, allocations: 4.306 MB / 1.651 GB, free: 2.52 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.987, allocations: 0.4911 MB / 1.652 GB, free: 2.008 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/1.988, allocations: 4 kB / 1.652 GB, free: 2.004 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.99, allocations: 303.5 kB / 1.652 GB, free: 1.707 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/1.99, allocations: 153 kB / 1.652 GB, free: 1.555 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.991, allocations: 51.97 kB / 1.652 GB, free: 1.504 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0009683/1.992, allocations: 0.6096 MB / 1.653 GB, free: 0.8906 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.7e-07/1.992, allocations: 0 / 1.653 GB, free: 0.8906 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.00262/1.994, allocations: 0.6328 MB / 1.653 GB, free: 264 kB / 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.000479/1.995, allocations: 184.1 kB / 1.653 GB, free: 72 kB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007338/2.002, allocations: 4.171 MB / 1.657 GB, free: 11.82 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/2.002, allocations: 4 kB / 1.657 GB, free: 11.82 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005085/2.007, allocations: 2.825 MB / 1.66 GB, free: 8.91 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/2.01, allocations: 441.6 kB / 1.661 GB, free: 8.484 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/2.016, allocations: 3.094 MB / 1.664 GB, free: 5.32 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/2.017, allocations: 1.603 MB / 1.665 GB, free: 3.676 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001797/2.019, allocations: 385.3 kB / 1.666 GB, free: 3.293 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/2.019, allocations: 107.4 kB / 1.666 GB, free: 3.188 MB / 1.073 GB Notification: Performance of SimCode: time 5.81e-07/2.019, allocations: 0 / 1.666 GB, free: 3.188 MB / 1.073 GB Notification: Performance of Templates: time 0.07834/2.098, allocations: 40.83 MB / 1.706 GB, free: 10.74 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