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.001312/0.001312, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.489/2.489, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.777, allocations: 140.3 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04592/0.8229, allocations: 41.2 MB / 0.9898 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02982/0.8528, allocations: 15.08 MB / 1.005 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006926/0.8598, allocations: 187.1 kB / 1.005 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.8721, allocations: 4.461 MB / 1.009 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.8855, allocations: 2.798 MB / 1.012 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.8962, allocations: 3.156 MB / 1.015 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01815/0.9144, allocations: 11.4 MB / 1.026 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0179/0.9324, allocations: 12.63 MB / 1.038 GB, free: 6.578 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009541/0.9419, allocations: 4.795 MB / 1.043 GB, free: 1.77 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009957/0.9519, allocations: 5.382 MB / 1.048 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003705/0.9557, allocations: 0.9492 MB / 1.049 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007071/0.9627, allocations: 2.048 MB / 1.051 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.006507/0.9693, allocations: 3.684 MB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01076/0.9801, allocations: 4.295 MB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02029/1, allocations: 14.19 MB / 1.073 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1, allocations: 4 kB / 1.073 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/1, allocations: 0 / 1.073 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0005029/1.001, allocations: 0 / 1.073 GB, free: 3.137 MB / 0.8262 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.02475/1.026, allocations: 7.593 MB / 1.08 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.026, allocations: 12.03 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/1.038, allocations: 1.514 MB / 1.082 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.048, allocations: 4.205 MB / 1.086 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004808/1.049, allocations: 460.5 kB / 1.086 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003149/1.052, allocations: 0.5939 MB / 1.087 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02487/1.077, allocations: 10.69 MB / 1.097 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/1.077, allocations: 27.62 kB / 1.097 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/1.078, allocations: 263.9 kB / 1.098 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/1.081, allocations: 0.7768 MB / 1.098 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/1.103, allocations: 8.561 MB / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06777/1.171, allocations: 46.85 MB / 1.153 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006375/1.177, allocations: 4.3 MB / 1.157 GB, free: 8.957 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005839/1.183, allocations: 3.712 MB / 1.16 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/1.183, allocations: 34.78 kB / 1.16 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.706e-05/1.183, allocations: 85.14 kB / 1.16 GB, free: 5.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=353): time 5.51e-06/1.183, allocations: 0 / 1.16 GB, free: 5.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=578): time 1.101/2.284, allocations: 122.8 MB / 1.28 GB, free: 266.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/2.284, allocations: 113.6 kB / 1.28 GB, free: 266.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004751/2.289, allocations: 2.685 MB / 1.283 GB, free: 265.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001546/2.291, allocations: 119.1 kB / 1.283 GB, free: 265.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/2.293, allocations: 2.676 MB / 1.286 GB, free: 263.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002737/2.295, allocations: 1.958 MB / 1.288 GB, free: 261.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002124/2.297, allocations: 0.9201 MB / 1.289 GB, free: 261.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/2.297, allocations: 306.4 kB / 1.289 GB, free: 260.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006293/2.304, allocations: 4.079 MB / 1.293 GB, free: 259.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006314/2.31, allocations: 5.016 MB / 1.298 GB, free: 256.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/2.323, allocations: 9.854 MB / 1.307 GB, free: 251 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-05/2.323, allocations: 7.719 kB / 1.307 GB, free: 251 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03599/2.359, allocations: 16.99 MB / 1.324 GB, free: 241.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/2.359, allocations: 14.38 kB / 1.324 GB, free: 241.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/2.359, allocations: 25.38 kB / 1.324 GB, free: 241.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02884/2.388, allocations: 9.151 MB / 1.333 GB, free: 232.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/2.39, allocations: 0.5226 MB / 1.334 GB, free: 231.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1018/2.492, allocations: 77.01 MB / 1.409 GB, free: 153.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00825/2.5, allocations: 279.7 kB / 1.409 GB, free: 153 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/2.502, allocations: 192 kB / 1.409 GB, free: 152.8 MB / 1.014 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.005727/2.508, allocations: 2.421 MB / 1.412 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/2.509, allocations: 474.4 kB / 1.412 GB, free: 149.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03343/2.543, allocations: 16.81 MB / 1.428 GB, free: 133 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/2.543, allocations: 56.61 kB / 1.428 GB, free: 132.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002162/2.543, allocations: 72 kB / 1.429 GB, free: 132.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/2.543, allocations: 27.89 kB / 1.429 GB, free: 132.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05109/2.594, allocations: 25.66 MB / 1.454 GB, free: 106.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.466e-05/2.594, allocations: 8.938 kB / 1.454 GB, free: 106.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/2.596, allocations: 319.5 kB / 1.454 GB, free: 106.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02722/2.624, allocations: 8.338 MB / 1.462 GB, free: 98.22 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001533/2.625, allocations: 116.1 kB / 1.462 GB, free: 98.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08293/2.708, allocations: 73.89 MB / 1.534 GB, free: 22.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/2.708, allocations: 11.94 kB / 1.534 GB, free: 22.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03797/2.746, allocations: 21.56 MB / 1.555 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00358/2.75, allocations: 1.358 MB / 1.557 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/2.751, allocations: 115.9 kB / 1.557 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00455/2.756, allocations: 283.6 kB / 1.557 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002152/2.758, allocations: 0.5219 MB / 1.558 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004798/2.758, allocations: 148 kB / 1.558 GB, free: 14.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00295/2.761, allocations: 1.772 MB / 1.56 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/2.761, allocations: 0 / 1.56 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01087/2.772, allocations: 2.469 MB / 1.562 GB, free: 10.07 MB / 1.029 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.001079/2.773, allocations: 242.8 kB / 1.562 GB, free: 9.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.03922/2.813, allocations: 18.68 MB / 1.58 GB, free: 6.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/2.813, allocations: 0 / 1.58 GB, free: 6.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0197/2.832, allocations: 9.356 MB / 1.59 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006471/2.839, allocations: 1.364 MB / 1.591 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02912/2.868, allocations: 15.73 MB / 1.606 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008134/2.876, allocations: 4.896 MB / 1.611 GB, free: 7.383 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003226/2.879, allocations: 0.741 MB / 1.612 GB, free: 6.637 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/2.88, allocations: 199.4 kB / 1.612 GB, free: 6.441 MB / 1.076 GB Notification: Performance of SimCode: time 8.22e-07/2.88, allocations: 0 / 1.612 GB, free: 6.441 MB / 1.076 GB Notification: Performance of Templates: time 0.7655/3.646, allocations: 147.5 MB / 1.756 GB, free: 362 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/jenkins/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