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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00155/0.00155, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.002912/0.002912, allocations: 192.4 kB / 17.35 MB, free: 5.738 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.633/1.633, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.24/3.24, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375/1.377, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02788/1.405, allocations: 22.6 MB / 1.23 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01296/1.418, allocations: 6.225 MB / 1.237 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003321/1.421, allocations: 95.5 kB / 1.237 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004971/1.426, allocations: 1.546 MB / 1.238 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005375/1.432, allocations: 1.622 MB / 1.24 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/1.436, allocations: 1.348 MB / 1.241 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008397/1.444, allocations: 5.935 MB / 1.247 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009601/1.454, allocations: 6.044 MB / 1.253 GB, free: 60 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00532/1.459, allocations: 2.45 MB / 1.255 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005532/1.465, allocations: 2.862 MB / 1.258 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001778/1.467, allocations: 460 kB / 1.258 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/1.47, allocations: 1.104 MB / 1.259 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005367/1.476, allocations: 2.027 MB / 1.261 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005951/1.482, allocations: 2.17 MB / 1.264 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/1.493, allocations: 7.29 MB / 1.271 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.493, allocations: 0 / 1.271 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/1.493, allocations: 0 / 1.271 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.00031/1.493, allocations: 0 / 1.271 GB, free: 13.66 MB / 0.9981 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.01141/1.505, allocations: 3.82 MB / 1.274 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/1.505, allocations: 15.97 kB / 1.274 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006819/1.512, allocations: 1.217 MB / 1.276 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/1.517, allocations: 2.336 MB / 1.278 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/1.517, allocations: 238.4 kB / 1.278 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008541/1.518, allocations: 327.8 kB / 1.278 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/1.529, allocations: 6.205 MB / 1.285 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/1.529, allocations: 19.88 kB / 1.285 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004005/1.53, allocations: 139.9 kB / 1.285 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005097/1.53, allocations: 406.3 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008815/1.539, allocations: 4.654 MB / 1.29 GB, free: 9.906 MB / 1.014 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.03556/1.575, allocations: 28.95 MB / 1.318 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/1.577, allocations: 1.42 MB / 1.319 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/1.579, allocations: 1.483 MB / 1.321 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.543e-05/1.579, allocations: 13 kB / 1.321 GB, free: 7.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.579, allocations: 43.56 kB / 1.321 GB, free: 7.262 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 6.652e-06/1.579, allocations: 3.984 kB / 1.321 GB, free: 7.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=179): time 0.1297/1.708, allocations: 37.25 MB / 1.357 GB, free: 1.93 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.709, allocations: 77.41 kB / 1.357 GB, free: 1.844 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/1.71, allocations: 1.423 MB / 1.359 GB, free: 424 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/1.711, allocations: 53.7 kB / 1.359 GB, free: 364 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008739/1.712, allocations: 1.539 MB / 1.36 GB, free: 14.8 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/1.712, allocations: 0.6084 MB / 1.361 GB, free: 14.18 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006844/1.713, allocations: 379.3 kB / 1.361 GB, free: 13.8 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/1.713, allocations: 309.1 kB / 1.361 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/1.715, allocations: 1.788 MB / 1.363 GB, free: 11.7 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/1.718, allocations: 2.339 MB / 1.365 GB, free: 9.113 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/1.723, allocations: 4.391 MB / 1.37 GB, free: 4.484 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.723, allocations: 4 kB / 1.37 GB, free: 4.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01652/1.74, allocations: 8.575 MB / 1.378 GB, free: 11.87 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.74, allocations: 18.48 kB / 1.378 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.74, allocations: 16 kB / 1.378 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01385/1.754, allocations: 4.635 MB / 1.383 GB, free: 7.184 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.755, allocations: 299.5 kB / 1.383 GB, free: 6.891 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0427/1.798, allocations: 32.59 MB / 1.415 GB, free: 5.441 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/1.8, allocations: 147.8 kB / 1.415 GB, free: 5.297 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/1.8, allocations: 83.98 kB / 1.415 GB, free: 5.215 MB / 1.139 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.002593/1.802, allocations: 1.332 MB / 1.416 GB, free: 3.871 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/1.803, allocations: 205.6 kB / 1.416 GB, free: 3.668 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/1.819, allocations: 8.441 MB / 1.425 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/1.819, allocations: 7.969 kB / 1.425 GB, free: 11.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.819, allocations: 0 / 1.425 GB, free: 11.17 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.821, allocations: 0.6272 MB / 1.425 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/1.821, allocations: 32 kB / 1.425 GB, free: 10.49 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.822, allocations: 119.8 kB / 1.425 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/1.823, allocations: 285.4 kB / 1.426 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01577/1.838, allocations: 7.266 MB / 1.433 GB, free: 2.805 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007398/1.846, allocations: 6.107 MB / 1.439 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002079/1.848, allocations: 1.83 MB / 1.441 GB, free: 10.83 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001192/1.849, allocations: 0.9549 MB / 1.442 GB, free: 9.883 MB / 1.17 GB Notification: Performance of Backend: time 4e-07/1.849, allocations: 0 / 1.442 GB, free: 9.883 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.86, allocations: 5.242 MB / 1.447 GB, free: 4.559 MB / 1.17 GB Notification: Performance of SimCode: time 0.009612/1.869, allocations: 7.322 MB / 1.454 GB, free: 13.21 MB / 1.186 GB Notification: Performance of Templates: time 1.424/3.293, allocations: 59.5 MB / 1.512 GB, free: 2.02 MB / 1.232 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/jenkins1/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