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.01192/0.01192, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002362/0.002362, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.25/2.25, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.91 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.154, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05338/1.208, allocations: 41.19 MB / 1.128 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03633/1.244, allocations: 15.07 MB / 1.143 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00889/1.253, allocations: 191.6 kB / 1.143 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01462/1.268, allocations: 4.471 MB / 1.147 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01369/1.281, allocations: 2.924 MB / 1.15 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01275/1.294, allocations: 3.16 MB / 1.153 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02494/1.319, allocations: 11.42 MB / 1.165 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02979/1.349, allocations: 12.48 MB / 1.177 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01477/1.364, allocations: 4.905 MB / 1.182 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01501/1.379, allocations: 5.389 MB / 1.187 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.006905/1.386, allocations: 0.9485 MB / 1.188 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/1.398, allocations: 2.045 MB / 1.19 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01018/1.408, allocations: 3.692 MB / 1.193 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01457/1.422, allocations: 4.295 MB / 1.197 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02658/1.449, allocations: 14.31 MB / 1.211 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.449, allocations: 4 kB / 1.211 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.904e-06/1.449, allocations: 0 / 1.211 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0006251/1.45, allocations: 0 / 1.211 GB, free: 15.36 MB / 0.9512 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.03392/1.484, allocations: 7.796 MB / 1.219 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.484, allocations: 12.03 kB / 1.219 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/1.496, allocations: 1.546 MB / 1.221 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/1.51, allocations: 4.473 MB / 1.225 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000582/1.51, allocations: 456.5 kB / 1.225 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00355/1.514, allocations: 0.594 MB / 1.226 GB, free: 332 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03136/1.545, allocations: 10.69 MB / 1.236 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004177/1.546, allocations: 31.78 kB / 1.236 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002706/1.548, allocations: 263.9 kB / 1.237 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003198/1.552, allocations: 0.769 MB / 1.237 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/1.572, allocations: 8.564 MB / 1.246 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07714/1.649, allocations: 46.6 MB / 1.291 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007154/1.656, allocations: 4.323 MB / 1.296 GB, free: 4.926 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006261/1.663, allocations: 3.709 MB / 1.299 GB, free: 1.203 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004771/1.663, allocations: 38.78 kB / 1.299 GB, free: 1.164 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.148e-05/1.663, allocations: 73.34 kB / 1.299 GB, free: 1.082 MB / 1.029 GB Notification: Performance of pre-optimization done (n=353): time 7.714e-06/1.663, allocations: 0 / 1.299 GB, free: 1.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=578): time 0.553/2.216, allocations: 122.9 MB / 1.419 GB, free: 5.336 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/2.216, allocations: 115.9 kB / 1.419 GB, free: 5.207 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005744/2.222, allocations: 2.677 MB / 1.422 GB, free: 2.531 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001551/2.224, allocations: 125.7 kB / 1.422 GB, free: 2.402 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002234/2.226, allocations: 2.75 MB / 1.425 GB, free: 15.63 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.003294/2.229, allocations: 2.049 MB / 1.427 GB, free: 13.56 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003936/2.233, allocations: 0.929 MB / 1.428 GB, free: 12.62 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001433/2.233, allocations: 301.1 kB / 1.428 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006999/2.24, allocations: 4.083 MB / 1.432 GB, free: 8.238 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007843/2.248, allocations: 5.015 MB / 1.437 GB, free: 2.902 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/2.264, allocations: 9.848 MB / 1.447 GB, free: 8.672 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-05/2.264, allocations: 4 kB / 1.447 GB, free: 8.668 MB / 1.186 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04897/2.313, allocations: 17.03 MB / 1.463 GB, free: 7.516 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.118e-05/2.313, allocations: 16 kB / 1.463 GB, free: 7.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/2.313, allocations: 24 kB / 1.463 GB, free: 7.477 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03628/2.349, allocations: 9.081 MB / 1.472 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/2.353, allocations: 0.5187 MB / 1.473 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1358/2.489, allocations: 77.04 MB / 1.548 GB, free: 15.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/2.495, allocations: 283.7 kB / 1.548 GB, free: 14.93 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/2.496, allocations: 184 kB / 1.548 GB, free: 14.75 MB / 1.295 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.006595/2.503, allocations: 2.431 MB / 1.551 GB, free: 12.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/2.505, allocations: 493 kB / 1.551 GB, free: 11.82 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04368/2.549, allocations: 16.82 MB / 1.568 GB, free: 10.86 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.047e-05/2.549, allocations: 59.98 kB / 1.568 GB, free: 10.8 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002948/2.549, allocations: 72 kB / 1.568 GB, free: 10.73 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001456/2.549, allocations: 23.91 kB / 1.568 GB, free: 10.71 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7565/3.306, allocations: 25.65 MB / 1.593 GB, free: 414.1 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.031e-05/3.306, allocations: 9.688 kB / 1.593 GB, free: 414.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/3.308, allocations: 325 kB / 1.593 GB, free: 414 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03187/3.34, allocations: 8.273 MB / 1.601 GB, free: 413.4 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/3.341, allocations: 108.4 kB / 1.601 GB, free: 413.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1086/3.45, allocations: 73.89 MB / 1.673 GB, free: 371.7 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/3.45, allocations: 11.44 kB / 1.673 GB, free: 371.7 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04266/3.493, allocations: 21.6 MB / 1.694 GB, free: 362.6 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005661/3.498, allocations: 1.388 MB / 1.696 GB, free: 361.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002824/3.501, allocations: 105.6 kB / 1.696 GB, free: 361.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005597/3.507, allocations: 289.4 kB / 1.696 GB, free: 361.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003448/3.51, allocations: 0.5229 MB / 1.697 GB, free: 361.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001196/3.512, allocations: 138.6 kB / 1.697 GB, free: 361.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.003609/3.515, allocations: 1.777 MB / 1.699 GB, free: 360 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.534e-06/3.515, allocations: 4 kB / 1.699 GB, free: 360 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.01243/3.528, allocations: 2.465 MB / 1.701 GB, free: 357.5 MB / 1.311 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.001762/3.529, allocations: 240.8 kB / 1.701 GB, free: 357.3 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02695/3.556, allocations: 14.57 MB / 1.715 GB, free: 343 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.218e-05/3.556, allocations: 8 kB / 1.715 GB, free: 343 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.02001/3.576, allocations: 9.4 MB / 1.725 GB, free: 333.5 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/3.587, allocations: 1.378 MB / 1.726 GB, free: 332.2 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/3.622, allocations: 15.79 MB / 1.741 GB, free: 316.3 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008622/3.631, allocations: 4.893 MB / 1.746 GB, free: 311.3 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.003468/3.634, allocations: 0.7449 MB / 1.747 GB, free: 310.6 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009229/3.635, allocations: 195.4 kB / 1.747 GB, free: 310.4 MB / 1.311 GB Notification: Performance of SimCode: time 1.522e-06/3.635, allocations: 0 / 1.747 GB, free: 310.4 MB / 1.311 GB Notification: Performance of Templates: time 0.1995/3.835, allocations: 147 MB / 1.891 GB, free: 164.8 MB / 1.311 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