Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 180.6 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.000779, allocations: 101.9 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 10.56 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2413, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.4377, allocations: 157.3 MB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4381, allocations: 99.92 kB / 1.054 GB, free: 2.293 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6081/1.046, allocations: 37.14 MB / 1.09 GB, free: 143.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.278e-06/1.046, allocations: 0 / 1.09 GB, free: 143.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001176/1.046, allocations: 27.94 kB / 1.09 GB, free: 143.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002956/1.049, allocations: 1.033 MB / 1.091 GB, free: 142.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.049, allocations: 8.031 kB / 1.091 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/1.051, allocations: 246.6 kB / 1.091 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.053, allocations: 0.5432 MB / 1.092 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/1.053, allocations: 53.98 kB / 1.092 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/1.053, allocations: 63.98 kB / 1.092 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/1.055, allocations: 1.131 MB / 1.093 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/1.055, allocations: 7.938 kB / 1.093 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.056, allocations: 35.98 kB / 1.093 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-05/1.056, allocations: 53.28 kB / 1.093 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/1.057, allocations: 0.7503 MB / 1.094 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004561/1.061, allocations: 5.913 MB / 1.1 GB, free: 133.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/1.062, allocations: 0.5505 MB / 1.1 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/1.062, allocations: 4.438 kB / 1.1 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/1.062, allocations: 39 kB / 1.1 GB, free: 132.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.355e-06/1.062, allocations: 0 / 1.1 GB, free: 132.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.003429/1.066, allocations: 1.984 MB / 1.102 GB, free: 130.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/1.066, allocations: 59.84 kB / 1.102 GB, free: 130.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/1.066, allocations: 495.3 kB / 1.103 GB, free: 129.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/1.066, allocations: 37.7 kB / 1.103 GB, free: 129.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/1.066, allocations: 407.1 kB / 1.103 GB, free: 129.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/1.067, allocations: 177.5 kB / 1.103 GB, free: 129.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/1.067, allocations: 16 kB / 1.103 GB, free: 129.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.067, allocations: 374.8 kB / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/1.067, allocations: 269.1 kB / 1.104 GB, free: 128.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/1.067, allocations: 462.8 kB / 1.104 GB, free: 128.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/1.068, allocations: 334.1 kB / 1.105 GB, free: 127.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.068, allocations: 4 kB / 1.105 GB, free: 127.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001399/1.069, allocations: 1.059 MB / 1.106 GB, free: 126.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.069, allocations: 8 kB / 1.106 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.069, allocations: 8 kB / 1.106 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000763/1.07, allocations: 275.7 kB / 1.106 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/1.071, allocations: 119.8 kB / 1.106 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/1.075, allocations: 6.709 MB / 1.113 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/1.076, allocations: 35.97 kB / 1.113 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/1.076, allocations: 24 kB / 1.113 GB, free: 119 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004377/1.076, allocations: 249.6 kB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/1.076, allocations: 71.16 kB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/1.078, allocations: 0.8965 MB / 1.114 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.078, allocations: 4 kB / 1.114 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.078, allocations: 4 kB / 1.114 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.078, allocations: 0 / 1.114 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/1.08, allocations: 1.721 MB / 1.116 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/1.08, allocations: 8.031 kB / 1.116 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/1.08, allocations: 63.89 kB / 1.116 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006257/1.081, allocations: 263.2 kB / 1.116 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/1.081, allocations: 12 kB / 1.116 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/1.085, allocations: 6.686 MB / 1.123 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.085, allocations: 4.031 kB / 1.123 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/1.087, allocations: 1.048 MB / 1.124 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/1.087, allocations: 192.2 kB / 1.124 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/1.087, allocations: 8 kB / 1.124 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/1.088, allocations: 35.97 kB / 1.124 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/1.088, allocations: 43.83 kB / 1.124 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/1.088, allocations: 16 kB / 1.124 GB, free: 106.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004147/1.088, allocations: 383.1 kB / 1.124 GB, free: 106.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.088, allocations: 4 kB / 1.124 GB, free: 106.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008857/1.089, allocations: 232 kB / 1.124 GB, free: 106.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002012/1.089, allocations: 127.2 kB / 1.125 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001557/1.091, allocations: 1.252 MB / 1.126 GB, free: 104.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.091, allocations: 4.125 kB / 1.126 GB, free: 104.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009097/1.092, allocations: 0.8895 MB / 1.127 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/1.092, allocations: 201.7 kB / 1.127 GB, free: 103.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/1.094, allocations: 1.586 MB / 1.128 GB, free: 102.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/1.095, allocations: 1.024 MB / 1.129 GB, free: 101.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003826/1.095, allocations: 121.9 kB / 1.129 GB, free: 100.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/1.095, allocations: 47.42 kB / 1.13 GB, free: 100.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/1.095, allocations: 0 / 1.13 GB, free: 100.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01509/1.11, allocations: 10.32 MB / 1.14 GB, free: 90.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches