Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001688/0.001688, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 482.3 MB / 0.7542 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.78 kB / 0.9232 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 162.2 MB / 1.082 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02597/0.3731, allocations: 22.42 MB / 1.104 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3853, allocations: 6.182 MB / 1.11 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.3877, allocations: 79.56 kB / 1.11 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004305/0.392, allocations: 1.418 MB / 1.111 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.3965, allocations: 1.514 MB / 1.112 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.4003, allocations: 1.229 MB / 1.114 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008416/0.4087, allocations: 5.959 MB / 1.12 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.4215, allocations: 7.259 MB / 1.127 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00535/0.4269, allocations: 2.445 MB / 1.129 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0054/0.4323, allocations: 3.038 MB / 1.132 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001566/0.4339, allocations: 460 kB / 1.132 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.4372, allocations: 1.096 MB / 1.133 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003953/0.4412, allocations: 2.031 MB / 1.135 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006283/0.4475, allocations: 2.167 MB / 1.138 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009454/0.4569, allocations: 7.303 MB / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.457, allocations: 0 / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.535e-06/0.457, allocations: 0 / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002302/0.4572, allocations: 0 / 1.145 GB, free: 12.89 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009878/0.4671, allocations: 3.824 MB / 1.148 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4672, allocations: 12.03 kB / 1.148 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006098/0.4733, allocations: 1.202 MB / 1.15 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.4777, allocations: 2.223 MB / 1.152 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.478, allocations: 238.4 kB / 1.152 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006291/0.4786, allocations: 311.9 kB / 1.152 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.4905, allocations: 6.216 MB / 1.158 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.818e-05/0.4906, allocations: 23.84 kB / 1.158 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000388/0.491, allocations: 139.9 kB / 1.159 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005426/0.4916, allocations: 402.3 kB / 1.159 GB, free: 13.94 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008737/0.5003, allocations: 4.666 MB / 1.163 GB, free: 9.266 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03705/0.5374, allocations: 29.14 MB / 1.192 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.5396, allocations: 1.427 MB / 1.193 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.5416, allocations: 1.481 MB / 1.195 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.5418, allocations: 13 kB / 1.195 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.5418, allocations: 43.56 kB / 1.195 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 3.397e-06/0.5418, allocations: 0 / 1.195 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=179): time 0.1345/0.6763, allocations: 37.24 MB / 1.231 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.6764, allocations: 73.41 kB / 1.231 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.6786, allocations: 1.427 MB / 1.233 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.6789, allocations: 53.7 kB / 1.233 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.6801, allocations: 1.531 MB / 1.234 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006748/0.6807, allocations: 0.6122 MB / 1.235 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007581/0.6815, allocations: 379.3 kB / 1.235 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6817, allocations: 309.1 kB / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/0.6843, allocations: 1.788 MB / 1.237 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003212/0.6876, allocations: 2.342 MB / 1.239 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006194/0.6938, allocations: 4.387 MB / 1.244 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.6938, allocations: 4 kB / 1.244 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.6299/1.324, allocations: 8.565 MB / 1.252 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/1.324, allocations: 12.5 kB / 1.252 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/1.324, allocations: 16.91 kB / 1.252 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01649/1.34, allocations: 4.675 MB / 1.257 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.342, allocations: 303.5 kB / 1.257 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04523/1.387, allocations: 32.6 MB / 1.289 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.389, allocations: 150.2 kB / 1.289 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004695/1.39, allocations: 91.12 kB / 1.289 GB, free: 138.6 MB / 0.9981 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002672/1.392, allocations: 1.333 MB / 1.29 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/1.393, allocations: 197.5 kB / 1.291 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.409, allocations: 8.444 MB / 1.299 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.409, allocations: 22.27 kB / 1.299 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.143e-05/1.409, allocations: 24.81 kB / 1.299 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/1.409, allocations: 9.719 kB / 1.299 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02438/1.433, allocations: 12.84 MB / 1.311 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/1.433, allocations: 15.77 kB / 1.311 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/1.434, allocations: 160.6 kB / 1.312 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01294/1.447, allocations: 4.52 MB / 1.316 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003167/1.447, allocations: 39.72 kB / 1.316 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03677/1.484, allocations: 32.21 MB / 1.348 GB, free: 91.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.484, allocations: 4 kB / 1.348 GB, free: 91.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/1.498, allocations: 8.24 MB / 1.356 GB, free: 83.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.5, allocations: 0.6233 MB / 1.356 GB, free: 82.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/1.5, allocations: 42.56 kB / 1.356 GB, free: 82.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.501, allocations: 136.5 kB / 1.356 GB, free: 82.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007841/1.502, allocations: 172.9 kB / 1.357 GB, free: 82.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.502, allocations: 48 kB / 1.357 GB, free: 82.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001012/1.503, allocations: 0.9627 MB / 1.357 GB, free: 81.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.503, allocations: 0 / 1.357 GB, free: 81.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003096/1.506, allocations: 1.113 MB / 1.359 GB, free: 80.29 MB / 0.9981 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002959/1.507, allocations: 150.9 kB / 1.359 GB, free: 80.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.518, allocations: 7.062 MB / 1.366 GB, free: 73.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.518, allocations: 7.969 kB / 1.366 GB, free: 73.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007762/1.526, allocations: 4.374 MB / 1.37 GB, free: 68.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.528, allocations: 0.5085 MB / 1.37 GB, free: 68.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.54, allocations: 8.43 MB / 1.379 GB, free: 59.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/1.542, allocations: 2.723 MB / 1.381 GB, free: 56.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001147/1.543, allocations: 388.5 kB / 1.382 GB, free: 56.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/1.543, allocations: 103.4 kB / 1.382 GB, free: 56.36 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.543, allocations: 0 / 1.382 GB, free: 56.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.07856/1.622, allocations: 61.11 MB / 1.441 GB, free: 11.57 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches