Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001164, allocations: 90.75 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009705/0.009705, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 12 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7218, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03904/0.7609, allocations: 36.74 MB / 1.059 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.7793, allocations: 10.86 MB / 1.07 GB, free: 104 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.7831, allocations: 135.4 kB / 1.07 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.7864, allocations: 0.783 MB / 1.07 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007578/0.794, allocations: 2.088 MB / 1.072 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006656/0.8007, allocations: 1.797 MB / 1.074 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01596/0.8167, allocations: 13.19 MB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02851/0.8452, allocations: 14.46 MB / 1.101 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006592/0.8519, allocations: 2.832 MB / 1.104 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009964/0.8619, allocations: 3.869 MB / 1.108 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002957/0.8649, allocations: 344 kB / 1.108 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006414/0.8713, allocations: 1.338 MB / 1.109 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00575/0.8771, allocations: 2.529 MB / 1.112 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00768/0.8848, allocations: 2.964 MB / 1.115 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.898, allocations: 11.68 MB / 1.126 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.898, allocations: 0 / 1.126 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8981, allocations: 0 / 1.126 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003737/0.8984, allocations: 4 kB / 1.126 GB, free: 5.859 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01191/0.9104, allocations: 5.078 MB / 1.131 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9104, allocations: 12.03 kB / 1.131 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005861/0.9163, allocations: 1.071 MB / 1.132 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008155/0.9245, allocations: 3.427 MB / 1.136 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005908/0.9251, allocations: 419.8 kB / 1.136 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003193/0.9283, allocations: 0.5394 MB / 1.136 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03428/0.9626, allocations: 9.381 MB / 1.146 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003316/0.963, allocations: 23.72 kB / 1.146 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/0.9652, allocations: 244 kB / 1.146 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009278/0.9662, allocations: 418.9 kB / 1.146 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.9882, allocations: 7.127 MB / 1.153 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06235/1.051, allocations: 41.37 MB / 1.194 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007514/1.058, allocations: 3.112 MB / 1.197 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004798/1.063, allocations: 2.11 MB / 1.199 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/1.063, allocations: 25.98 kB / 1.199 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.694e-05/1.063, allocations: 64.56 kB / 1.199 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=209): time 8.135e-06/1.063, allocations: 0 / 1.199 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=212): time 0.0261/1.089, allocations: 10.62 MB / 1.209 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/1.09, allocations: 77.34 kB / 1.209 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/1.093, allocations: 2.002 MB / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/1.094, allocations: 65.7 kB / 1.211 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/1.095, allocations: 2.408 MB / 1.214 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007739/1.096, allocations: 0.7279 MB / 1.214 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/1.097, allocations: 207.1 kB / 1.215 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.097, allocations: 301.1 kB / 1.215 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/1.099, allocations: 1.376 MB / 1.216 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/1.102, allocations: 2.108 MB / 1.218 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/1.107, allocations: 3.77 MB / 1.222 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/1.107, allocations: 4 kB / 1.222 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009763/1.117, allocations: 5.073 MB / 1.227 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/1.117, allocations: 17.72 kB / 1.227 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/1.117, allocations: 20 kB / 1.227 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/1.121, allocations: 1.575 MB / 1.228 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.123, allocations: 455.2 kB / 1.229 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/1.146, allocations: 17.11 MB / 1.246 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/1.15, allocations: 151.8 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006097/1.15, allocations: 104 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005005/1.155, allocations: 1.942 MB / 1.248 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.156, allocations: 284.7 kB / 1.248 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6989/1.855, allocations: 4.451 MB / 1.252 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/1.855, allocations: 21.34 kB / 1.252 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-05/1.855, allocations: 17.16 kB / 1.252 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/1.855, allocations: 12.11 kB / 1.252 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.877, allocations: 9.669 MB / 1.262 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.877, allocations: 3.938 kB / 1.262 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.878, allocations: 234.5 kB / 1.262 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004722/1.883, allocations: 1.429 MB / 1.263 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/1.883, allocations: 41.69 kB / 1.263 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/1.904, allocations: 17.11 MB / 1.28 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.904, allocations: 5.156 kB / 1.28 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006797/1.911, allocations: 4.542 MB / 1.285 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.913, allocations: 0.6389 MB / 1.285 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/1.913, allocations: 39.84 kB / 1.285 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.915, allocations: 119 kB / 1.285 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/1.915, allocations: 185.6 kB / 1.286 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.915, allocations: 59.28 kB / 1.286 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001696/1.917, allocations: 1.316 MB / 1.287 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.917, allocations: 0 / 1.287 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003485/1.921, allocations: 1.146 MB / 1.288 GB, free: 191 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000311/1.921, allocations: 161.5 kB / 1.288 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006682/1.928, allocations: 4.699 MB / 1.293 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.928, allocations: 0 / 1.293 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003983/1.932, allocations: 2.925 MB / 1.296 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/1.937, allocations: 0.8358 MB / 1.296 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.954, allocations: 11.76 MB / 1.308 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003934/1.958, allocations: 3.694 MB / 1.312 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002133/1.96, allocations: 0.5556 MB / 1.312 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/1.961, allocations: 151.4 kB / 1.312 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.961, allocations: 0 / 1.312 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.07795/2.039, allocations: 50.17 MB / 1.361 GB, free: 124.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches