Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 104 kB / 15.98 MB, free: 6.352 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.001467/0.001467, allocations: 196.9 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.34/1.34, 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 11.1.0-maint.11.x/package.mo): time 2.552/2.552, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 72.27 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2957, allocations: 159.2 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.4858/0.7815, allocations: 23.22 MB / 1.087 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.7918, allocations: 6.442 MB / 1.093 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.7944, allocations: 81.53 kB / 1.093 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.7982, allocations: 1.357 MB / 1.095 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/0.8029, allocations: 1.695 MB / 1.096 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.8066, allocations: 1.346 MB / 1.097 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008945/0.8156, allocations: 6.937 MB / 1.104 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.8269, allocations: 8.122 MB / 1.112 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/0.8325, allocations: 2.884 MB / 1.115 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00721/0.8397, allocations: 3.695 MB / 1.119 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.8415, allocations: 0.5273 MB / 1.119 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.8454, allocations: 1.172 MB / 1.12 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004037/0.8495, allocations: 2.475 MB / 1.123 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005576/0.8551, allocations: 2.532 MB / 1.125 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009994/0.8651, allocations: 7.233 MB / 1.132 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.8651, allocations: 0 / 1.132 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8651, allocations: 0 / 1.132 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002366/0.8654, allocations: 4 kB / 1.132 GB, free: 9.316 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01243/0.8778, allocations: 4.424 MB / 1.137 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.8779, allocations: 9.156 kB / 1.137 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008821/0.8867, allocations: 1.683 MB / 1.138 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006197/0.8929, allocations: 2.578 MB / 1.141 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.8932, allocations: 275.3 kB / 1.141 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.8944, allocations: 368.6 kB / 1.141 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.9084, allocations: 7.488 MB / 1.149 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.714e-05/0.9085, allocations: 13.84 kB / 1.149 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004893/0.909, allocations: 157.3 kB / 1.149 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006445/0.9097, allocations: 490.4 kB / 1.149 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.9198, allocations: 5.697 MB / 1.155 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03765/0.9575, allocations: 31.72 MB / 1.186 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.9604, allocations: 2.092 MB / 1.188 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.9634, allocations: 2.171 MB / 1.19 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.9636, allocations: 21.25 kB / 1.19 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.9636, allocations: 43.88 kB / 1.19 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.026e-06/0.9636, allocations: 0 / 1.19 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.2738/1.237, allocations: 77.01 MB / 1.265 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/1.238, allocations: 77.41 kB / 1.265 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/1.24, allocations: 1.67 MB / 1.267 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005259/1.241, allocations: 65.7 kB / 1.267 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001354/1.242, allocations: 1.755 MB / 1.269 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.243, allocations: 0.8471 MB / 1.27 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/1.244, allocations: 481.2 kB / 1.27 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.244, allocations: 309.1 kB / 1.27 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/1.248, allocations: 2.726 MB / 1.273 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/1.253, allocations: 3.336 MB / 1.276 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008953/1.262, allocations: 6.393 MB / 1.282 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/1.262, allocations: 7.938 kB / 1.282 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03229/1.294, allocations: 14.68 MB / 1.297 GB, free: 8.742 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/1.294, allocations: 12 kB / 1.297 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/1.294, allocations: 16 kB / 1.297 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02943/1.324, allocations: 9.295 MB / 1.306 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.325, allocations: 299.4 kB / 1.306 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08391/1.409, allocations: 52.39 MB / 1.357 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/1.412, allocations: 223.7 kB / 1.358 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/1.413, allocations: 104 kB / 1.358 GB, free: 9.508 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003362/1.416, allocations: 1.582 MB / 1.359 GB, free: 7.918 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007034/1.417, allocations: 249 kB / 1.359 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03262/1.449, allocations: 14.75 MB / 1.374 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/1.449, allocations: 28 kB / 1.374 GB, free: 8.84 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001601/1.449, allocations: 48 kB / 1.374 GB, free: 8.793 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.593e-05/1.45, allocations: 11.95 kB / 1.374 GB, free: 8.781 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04359/1.493, allocations: 20.52 MB / 1.394 GB, free: 4.059 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/1.493, allocations: 4 kB / 1.394 GB, free: 4.055 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/1.494, allocations: 167.6 kB / 1.394 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02867/1.523, allocations: 9.057 MB / 1.403 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005228/1.523, allocations: 44 kB / 1.403 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08056/1.604, allocations: 51.95 MB / 1.454 GB, free: 5.922 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/1.604, allocations: 11.94 kB / 1.454 GB, free: 5.91 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03223/1.636, allocations: 14.36 MB / 1.468 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.639, allocations: 0.8493 MB / 1.469 GB, free: 6.531 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005567/1.639, allocations: 48 kB / 1.469 GB, free: 6.484 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.641, allocations: 211.7 kB / 1.469 GB, free: 6.277 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/1.642, allocations: 241.4 kB / 1.469 GB, free: 6.043 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/1.643, allocations: 64 kB / 1.469 GB, free: 5.98 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001615/1.644, allocations: 1.125 MB / 1.47 GB, free: 4.832 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.644, allocations: 0 / 1.47 GB, free: 4.832 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004718/1.649, allocations: 1.617 MB / 1.472 GB, free: 3.215 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004103/1.649, allocations: 161.5 kB / 1.472 GB, free: 3.051 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02323/1.673, allocations: 11.33 MB / 1.483 GB, free: 7.641 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.673, allocations: 4.188 kB / 1.483 GB, free: 7.637 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01705/1.69, allocations: 7.312 MB / 1.49 GB, free: 260 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/1.693, allocations: 0.5505 MB / 1.491 GB, free: 15.71 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.71, allocations: 11.26 MB / 1.502 GB, free: 4.375 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003839/1.714, allocations: 3.298 MB / 1.505 GB, free: 1.039 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/1.715, allocations: 111.4 kB / 1.505 GB, free: 0.9297 MB / 1.217 GB Notification: Performance of SimCode: time 1.183e-06/1.715, allocations: 3.938 kB / 1.505 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of Templates: time 0.6258/2.34, allocations: 187.6 MB / 1.688 GB, free: 332.5 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches