Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 110.4 kB / 15.99 MB, free: 6.348 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.001923/0.001923, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.494/1.494, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.3 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.73 kB / 0.8127 GB, free: 33.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2881, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04368/0.3318, allocations: 40.81 MB / 0.9896 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02481/0.3567, allocations: 14.98 MB / 1.004 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004901/0.3616, allocations: 171.1 kB / 1.004 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.3728, allocations: 4.16 MB / 1.008 GB, free: 12.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007831/0.3807, allocations: 2.586 MB / 1.011 GB, free: 10.33 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007782/0.3885, allocations: 2.893 MB / 1.014 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01368/0.4022, allocations: 11.43 MB / 1.025 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02531/0.4275, allocations: 14.85 MB / 1.04 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008312/0.4359, allocations: 4.898 MB / 1.044 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009168/0.4451, allocations: 5.636 MB / 1.05 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.003389/0.4485, allocations: 0.9531 MB / 1.051 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006309/0.4548, allocations: 2.044 MB / 1.053 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006131/0.461, allocations: 3.695 MB / 1.056 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008856/0.4699, allocations: 4.295 MB / 1.061 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.4835, allocations: 12.16 MB / 1.072 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4835, allocations: 0 / 1.072 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4835, allocations: 4 kB / 1.072 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004899/0.484, allocations: 3.984 kB / 1.072 GB, free: 11.21 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.0227/0.5067, allocations: 7.592 MB / 1.08 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5068, allocations: 8.031 kB / 1.08 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.5181, allocations: 1.522 MB / 1.081 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4849/1.003, allocations: 4.201 MB / 1.085 GB, free: 117.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005221/1.004, allocations: 454.6 kB / 1.086 GB, free: 117.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/1.006, allocations: 0.5986 MB / 1.086 GB, free: 117.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/1.034, allocations: 10.68 MB / 1.097 GB, free: 113.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/1.034, allocations: 28.09 kB / 1.097 GB, free: 113.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001507/1.036, allocations: 263.8 kB / 1.097 GB, free: 112.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002968/1.039, allocations: 0.7714 MB / 1.098 GB, free: 112.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02053/1.059, allocations: 8.562 MB / 1.106 GB, free: 109.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06199/1.121, allocations: 46.86 MB / 1.152 GB, free: 71.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005594/1.127, allocations: 4.312 MB / 1.156 GB, free: 69.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004378/1.131, allocations: 3.704 MB / 1.16 GB, free: 67.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/1.132, allocations: 34.38 kB / 1.16 GB, free: 67.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/1.132, allocations: 75.22 kB / 1.16 GB, free: 67.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=353): time 5.591e-06/1.132, allocations: 0 / 1.16 GB, free: 67.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=578): time 0.4637/1.595, allocations: 122.8 MB / 1.28 GB, free: 11.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.595, allocations: 123.8 kB / 1.28 GB, free: 11.29 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/1.601, allocations: 2.681 MB / 1.283 GB, free: 8.609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.00125/1.602, allocations: 121.7 kB / 1.283 GB, free: 8.484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/1.604, allocations: 2.678 MB / 1.285 GB, free: 5.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003381/1.608, allocations: 1.952 MB / 1.287 GB, free: 3.848 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002244/1.61, allocations: 0.9247 MB / 1.288 GB, free: 2.914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/1.61, allocations: 305.1 kB / 1.288 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005646/1.616, allocations: 4.077 MB / 1.292 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006412/1.622, allocations: 5.019 MB / 1.297 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/1.635, allocations: 9.848 MB / 1.307 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/1.635, allocations: 11.98 kB / 1.307 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04311/1.678, allocations: 17 MB / 1.324 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/1.678, allocations: 12 kB / 1.324 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-05/1.679, allocations: 24 kB / 1.324 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03372/1.712, allocations: 9.144 MB / 1.333 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/1.715, allocations: 0.5303 MB / 1.333 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1223/1.837, allocations: 77.01 MB / 1.408 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/1.843, allocations: 283.8 kB / 1.409 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/1.844, allocations: 188 kB / 1.409 GB, free: 5.047 MB / 1.045 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006945/1.851, allocations: 2.426 MB / 1.411 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002566/1.854, allocations: 482.3 kB / 1.412 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04244/1.896, allocations: 16.81 MB / 1.428 GB, free: 1.176 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/1.896, allocations: 56 kB / 1.428 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002628/1.897, allocations: 72 kB / 1.428 GB, free: 1.051 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/1.897, allocations: 35.77 kB / 1.428 GB, free: 1.016 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0601/1.957, allocations: 25.65 MB / 1.453 GB, free: 7.141 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-05/1.957, allocations: 12.88 kB / 1.453 GB, free: 7.129 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/1.959, allocations: 311.6 kB / 1.453 GB, free: 6.824 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02993/1.989, allocations: 8.34 MB / 1.462 GB, free: 14.44 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001426/1.99, allocations: 107.9 kB / 1.462 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7185/2.709, allocations: 73.89 MB / 1.534 GB, free: 381.8 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/2.709, allocations: 11.81 kB / 1.534 GB, free: 381.8 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04854/2.758, allocations: 21.57 MB / 1.555 GB, free: 377 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004371/2.762, allocations: 1.356 MB / 1.556 GB, free: 376.4 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001873/2.764, allocations: 109 kB / 1.556 GB, free: 376.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004534/2.768, allocations: 288.7 kB / 1.557 GB, free: 376.3 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002564/2.771, allocations: 0.5213 MB / 1.557 GB, free: 376.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007012/2.772, allocations: 148.4 kB / 1.557 GB, free: 376.1 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003034/2.775, allocations: 1.778 MB / 1.559 GB, free: 375.5 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.71e-07/2.775, allocations: 1.156 kB / 1.559 GB, free: 375.5 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.01096/2.786, allocations: 2.462 MB / 1.561 GB, free: 375.2 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/2.787, allocations: 243.3 kB / 1.562 GB, free: 375.1 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.03685/2.824, allocations: 18.67 MB / 1.58 GB, free: 368.3 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/2.824, allocations: 3.781 kB / 1.58 GB, free: 368.3 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.01958/2.844, allocations: 9.342 MB / 1.589 GB, free: 363.8 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/2.855, allocations: 1.383 MB / 1.59 GB, free: 363.3 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03853/2.893, allocations: 19.66 MB / 1.61 GB, free: 350.8 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006417/2.9, allocations: 4.988 MB / 1.614 GB, free: 347 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/2.901, allocations: 214.5 kB / 1.615 GB, free: 346.7 MB / 1.154 GB Notification: Performance of SimCode: time 7.71e-07/2.901, allocations: 0 / 1.615 GB, free: 346.7 MB / 1.154 GB Notification: Performance of Templates: time 0.7913/3.692, allocations: 474.6 MB / 2.078 GB, free: 297.4 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches