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.322/2.322, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001052/0.001052, allocations: 184.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0008841/0.0008841, allocations: 87.91 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.281e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3442, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.501, allocations: 221.9 MB / 1.436 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003965/1.501, allocations: 98.78 kB / 1.436 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.3577/1.859, allocations: 124.6 MB / 1.557 GB, free: 6.816 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.204e-06/1.859, allocations: 0 / 1.557 GB, free: 6.816 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001273/1.859, allocations: 40 kB / 1.557 GB, free: 6.777 MB / 1.01 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.003751/1.863, allocations: 1.65 MB / 1.559 GB, free: 5.078 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.863, allocations: 8.031 kB / 1.559 GB, free: 5.07 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/1.875, allocations: 1.956 MB / 1.561 GB, free: 3.109 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006866/1.882, allocations: 2.075 MB / 1.563 GB, free: 0.9766 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/1.882, allocations: 82.31 kB / 1.563 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/1.882, allocations: 127.8 kB / 1.563 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/1.886, allocations: 2.225 MB / 1.565 GB, free: 14.36 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/1.887, allocations: 4 kB / 1.565 GB, free: 14.35 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/1.887, allocations: 55.94 kB / 1.565 GB, free: 14.3 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/1.887, allocations: 90.28 kB / 1.565 GB, free: 14.21 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/1.89, allocations: 1.863 MB / 1.567 GB, free: 12.34 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/1.908, allocations: 10.72 MB / 1.578 GB, free: 1.031 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/1.911, allocations: 1.504 MB / 1.579 GB, free: 15.5 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/1.913, allocations: 0.8923 MB / 1.58 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/1.913, allocations: 12.78 kB / 1.58 GB, free: 14.58 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/1.913, allocations: 47.34 kB / 1.58 GB, free: 14.53 MB / 1.042 GB Notification: Performance of pre-optimization done (n=89): time 5.431e-06/1.913, allocations: 3.984 kB / 1.58 GB, free: 14.52 MB / 1.042 GB Notification: Performance of matching and sorting (n=153): time 0.05347/1.966, allocations: 13.69 MB / 1.593 GB, free: 0.7891 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/1.967, allocations: 226.9 kB / 1.594 GB, free: 0.5195 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/1.969, allocations: 0.9994 MB / 1.595 GB, free: 15.51 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/1.97, allocations: 53.69 kB / 1.595 GB, free: 15.45 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/1.971, allocations: 0.7399 MB / 1.595 GB, free: 14.71 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008977/1.971, allocations: 0.5121 MB / 1.596 GB, free: 14.19 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/1.972, allocations: 28 kB / 1.596 GB, free: 14.16 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000249/1.972, allocations: 361.9 kB / 1.596 GB, free: 13.8 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/1.974, allocations: 1.125 MB / 1.597 GB, free: 12.68 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/1.977, allocations: 1.409 MB / 1.599 GB, free: 11.17 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/1.979, allocations: 1.25 MB / 1.6 GB, free: 9.918 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.979, allocations: 4 kB / 1.6 GB, free: 9.914 MB / 1.057 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0123/1.992, allocations: 4.579 MB / 1.604 GB, free: 5.297 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/1.992, allocations: 8 kB / 1.604 GB, free: 5.289 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.992, allocations: 8 kB / 1.604 GB, free: 5.281 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008958/2.001, allocations: 2.129 MB / 1.607 GB, free: 3.129 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/2.003, allocations: 415.4 kB / 1.607 GB, free: 2.723 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03259/2.036, allocations: 22.49 MB / 1.629 GB, free: 11.16 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/2.039, allocations: 327.5 kB / 1.629 GB, free: 10.84 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/2.04, allocations: 59.97 kB / 1.629 GB, free: 10.79 MB / 1.089 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.0006364/2.04, allocations: 188.5 kB / 1.629 GB, free: 10.59 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008307/2.041, allocations: 177.9 kB / 1.63 GB, free: 10.42 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/2.053, allocations: 4.653 MB / 1.634 GB, free: 5.719 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/2.053, allocations: 16.05 kB / 1.634 GB, free: 5.703 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.142e-05/2.053, allocations: 23.94 kB / 1.634 GB, free: 5.68 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/2.053, allocations: 11.91 kB / 1.634 GB, free: 5.668 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/2.07, allocations: 6.868 MB / 1.641 GB, free: 14.68 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/2.07, allocations: 0 / 1.641 GB, free: 14.68 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/2.072, allocations: 371.7 kB / 1.641 GB, free: 14.31 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009357/2.082, allocations: 1.981 MB / 1.643 GB, free: 12.31 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005138/2.082, allocations: 39.97 kB / 1.643 GB, free: 12.27 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03166/2.114, allocations: 21.68 MB / 1.664 GB, free: 5.527 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/2.114, allocations: 7.938 kB / 1.664 GB, free: 5.52 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/2.125, allocations: 4.423 MB / 1.669 GB, free: 0.9336 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/2.127, allocations: 0.5027 MB / 1.669 GB, free: 420 kB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006771/2.127, allocations: 31.98 kB / 1.669 GB, free: 388 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/2.13, allocations: 327.5 kB / 1.67 GB, free: 60 kB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000646/2.131, allocations: 157.1 kB / 1.67 GB, free: 15.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/2.131, allocations: 55.97 kB / 1.67 GB, free: 15.85 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001749/2.133, allocations: 0.7729 MB / 1.671 GB, free: 15.07 MB / 1.135 GB Notification: Performance of sort global known variables: time 4.21e-07/2.133, allocations: 0 / 1.671 GB, free: 15.07 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003678/2.137, allocations: 0.7265 MB / 1.671 GB, free: 14.35 MB / 1.135 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.0008065/2.137, allocations: 211.9 kB / 1.671 GB, free: 14.14 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.008835/2.146, allocations: 4.339 MB / 1.676 GB, free: 9.691 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/2.146, allocations: 0 / 1.676 GB, free: 9.691 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.006082/2.152, allocations: 2.967 MB / 1.679 GB, free: 6.621 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/2.156, allocations: 0.5031 MB / 1.679 GB, free: 6.125 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00808/2.164, allocations: 3.175 MB / 1.682 GB, free: 2.883 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/2.166, allocations: 1.6 MB / 1.684 GB, free: 1.246 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.00214/2.168, allocations: 402.7 kB / 1.684 GB, free: 0.8477 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/2.169, allocations: 115.4 kB / 1.684 GB, free: 0.7344 MB / 1.135 GB Notification: Performance of SimCode: time 1.683e-06/2.169, allocations: 0 / 1.684 GB, free: 0.7344 MB / 1.135 GB Notification: Performance of Templates: time 0.7872/2.956, allocations: 44.28 MB / 1.728 GB, free: 331.1 MB / 1.151 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