Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001224/0.001224, allocations: 190.7 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.14 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.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 55.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.917/0.9182, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04311/0.9614, allocations: 37.59 MB / 1.125 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02553/0.987, allocations: 13.04 MB / 1.138 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00634/0.9933, allocations: 171.7 kB / 1.138 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/1.004, allocations: 3.9 MB / 1.142 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008668/1.013, allocations: 2.609 MB / 1.145 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007821/1.021, allocations: 2.699 MB / 1.147 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01434/1.035, allocations: 9.594 MB / 1.157 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01675/1.052, allocations: 10.49 MB / 1.167 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/1.063, allocations: 4.072 MB / 1.171 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/1.074, allocations: 4.387 MB / 1.175 GB, free: 36 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003662/1.077, allocations: 0.7701 MB / 1.176 GB, free: 36 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007431/1.085, allocations: 1.783 MB / 1.178 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.006109/1.091, allocations: 3.04 MB / 1.181 GB, free: 13.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008767/1.1, allocations: 3.576 MB / 1.184 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/1.117, allocations: 11.86 MB / 1.196 GB, free: 364 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/1.118, allocations: 0 / 1.196 GB, free: 364 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.724e-06/1.118, allocations: 0 / 1.196 GB, free: 364 kB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003344/1.118, allocations: 0 / 1.196 GB, free: 364 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0169/1.135, allocations: 6.358 MB / 1.202 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.135, allocations: 8.031 kB / 1.202 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00916/1.144, allocations: 1.301 MB / 1.203 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008909/1.153, allocations: 3.779 MB / 1.207 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/1.153, allocations: 382.5 kB / 1.207 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/1.155, allocations: 0.5079 MB / 1.208 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/1.174, allocations: 8.883 MB / 1.216 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/1.175, allocations: 31.7 kB / 1.216 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001381/1.176, allocations: 219.9 kB / 1.217 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002579/1.179, allocations: 0.6343 MB / 1.217 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.195, allocations: 7.01 MB / 1.224 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06117/1.256, allocations: 40.06 MB / 1.263 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005426/1.262, allocations: 2.894 MB / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004467/1.266, allocations: 2.671 MB / 1.269 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003383/1.267, allocations: 26.09 kB / 1.269 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.007e-05/1.267, allocations: 72.5 kB / 1.269 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 7.213e-06/1.267, allocations: 3.938 kB / 1.269 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.3173/1.584, allocations: 74.69 MB / 1.342 GB, free: 6.391 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/1.584, allocations: 94.73 kB / 1.342 GB, free: 6.285 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/1.589, allocations: 2.351 MB / 1.344 GB, free: 3.922 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0008016/1.589, allocations: 97.7 kB / 1.344 GB, free: 3.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/1.591, allocations: 2.345 MB / 1.346 GB, free: 1.449 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002302/1.594, allocations: 1.428 MB / 1.348 GB, free: 0 / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002352/1.596, allocations: 0.7215 MB / 1.349 GB, free: 15.27 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.596, allocations: 313.1 kB / 1.349 GB, free: 14.96 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004846/1.601, allocations: 2.995 MB / 1.352 GB, free: 11.95 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005829/1.607, allocations: 3.847 MB / 1.356 GB, free: 7.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.618, allocations: 7.384 MB / 1.363 GB, free: 64 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-05/1.618, allocations: 8 kB / 1.363 GB, free: 56 kB / 1.092 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03308/1.651, allocations: 12.56 MB / 1.375 GB, free: 3.391 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/1.651, allocations: 19.94 kB / 1.375 GB, free: 3.371 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/1.651, allocations: 20 kB / 1.375 GB, free: 3.352 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/1.676, allocations: 6.029 MB / 1.381 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/1.678, allocations: 491.2 kB / 1.381 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09202/1.77, allocations: 72.99 MB / 1.453 GB, free: 460 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/1.775, allocations: 219.8 kB / 1.453 GB, free: 240 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006657/1.776, allocations: 159.9 kB / 1.453 GB, free: 80 kB / 1.186 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003656/1.779, allocations: 1.992 MB / 1.455 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.78, allocations: 395.4 kB / 1.455 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02993/1.81, allocations: 12.23 MB / 1.467 GB, free: 1.34 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.914e-05/1.81, allocations: 23.92 kB / 1.467 GB, free: 1.316 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/1.81, allocations: 0 / 1.467 GB, free: 1.316 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00335/1.814, allocations: 1.098 MB / 1.468 GB, free: 200 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.815, allocations: 71.91 kB / 1.468 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.818, allocations: 183.8 kB / 1.469 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/1.819, allocations: 0.5062 MB / 1.469 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0344/1.854, allocations: 12.59 MB / 1.481 GB, free: 2.746 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01813/1.872, allocations: 10.71 MB / 1.492 GB, free: 7.969 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0052/1.877, allocations: 3.501 MB / 1.495 GB, free: 4.461 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003218/1.88, allocations: 1.556 MB / 1.497 GB, free: 2.906 MB / 1.232 GB Notification: Performance of Backend: time 9.62e-07/1.88, allocations: 0 / 1.497 GB, free: 2.906 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02599/1.906, allocations: 10.36 MB / 1.507 GB, free: 8.227 MB / 1.248 GB Notification: Performance of SimCode: time 0.02988/1.936, allocations: 13.98 MB / 1.521 GB, free: 10.24 MB / 1.264 GB Notification: Performance of Templates: time 0.7622/2.698, allocations: 108.8 MB / 1.627 GB, free: 407.2 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches