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.007083/0.007083, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.002427/0.002427, allocations: 190 kB / 16.67 MB, free: 5.977 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.595/2.595, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 63.06 kB / 0.9509 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3574, allocations: 140.4 MB / 1.088 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04491/0.4023, allocations: 41.19 MB / 1.128 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02745/0.4298, allocations: 15.09 MB / 1.143 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005819/0.4357, allocations: 187.1 kB / 1.143 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01214/0.448, allocations: 4.458 MB / 1.147 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.458, allocations: 2.79 MB / 1.15 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.469, allocations: 3.163 MB / 1.153 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01841/0.4874, allocations: 11.41 MB / 1.164 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02113/0.5086, allocations: 12.46 MB / 1.177 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.5197, allocations: 4.814 MB / 1.181 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/0.5312, allocations: 5.394 MB / 1.187 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.004174/0.5354, allocations: 0.9492 MB / 1.187 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008059/0.5435, allocations: 2.044 MB / 1.189 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.007455/0.551, allocations: 3.692 MB / 1.193 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01112/0.5622, allocations: 4.291 MB / 1.197 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0241/0.5863, allocations: 14.28 MB / 1.211 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.5864, allocations: 0 / 1.211 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5864, allocations: 0 / 1.211 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0006359/0.587, allocations: 0 / 1.211 GB, free: 2.91 MB / 0.9669 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.02698/0.614, allocations: 7.602 MB / 1.219 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.6141, allocations: 15.97 kB / 1.219 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.6262, allocations: 1.522 MB / 1.22 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.6384, allocations: 4.443 MB / 1.224 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004743/0.6389, allocations: 452.5 kB / 1.225 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/0.6423, allocations: 0.5977 MB / 1.225 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02865/0.6709, allocations: 10.68 MB / 1.236 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/0.6712, allocations: 31.7 kB / 1.236 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/0.6726, allocations: 263.9 kB / 1.236 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003062/0.6757, allocations: 0.7768 MB / 1.237 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.6956, allocations: 8.557 MB / 1.245 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9473/1.643, allocations: 46.53 MB / 1.291 GB, free: 120.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008561/1.652, allocations: 4.305 MB / 1.295 GB, free: 118.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00706/1.659, allocations: 3.712 MB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004862/1.659, allocations: 36.41 kB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.907e-05/1.659, allocations: 81.88 kB / 1.299 GB, free: 117.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=353): time 6.813e-06/1.659, allocations: 0 / 1.299 GB, free: 117.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=578): time 0.5101/2.169, allocations: 122.8 MB / 1.419 GB, free: 19.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/2.17, allocations: 107.9 kB / 1.419 GB, free: 19.01 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/2.174, allocations: 2.681 MB / 1.421 GB, free: 16.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001319/2.175, allocations: 125.7 kB / 1.421 GB, free: 16.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/2.177, allocations: 2.675 MB / 1.424 GB, free: 13.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002392/2.179, allocations: 1.952 MB / 1.426 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003048/2.182, allocations: 0.9248 MB / 1.427 GB, free: 10.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.014e-05/2.182, allocations: 301.1 kB / 1.427 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00544/2.188, allocations: 4.083 MB / 1.431 GB, free: 6.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005857/2.193, allocations: 5.019 MB / 1.436 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/2.21, allocations: 9.849 MB / 1.446 GB, free: 6.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.288e-05/2.21, allocations: 12 kB / 1.446 GB, free: 6.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04556/2.256, allocations: 17 MB / 1.462 GB, free: 5.539 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/2.256, allocations: 16 kB / 1.462 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.802e-05/2.256, allocations: 20 kB / 1.462 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03326/2.289, allocations: 9.084 MB / 1.471 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/2.292, allocations: 0.5259 MB / 1.472 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1176/2.409, allocations: 76.96 MB / 1.547 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006375/2.416, allocations: 275.8 kB / 1.547 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/2.417, allocations: 192.2 kB / 1.547 GB, free: 12.89 MB / 1.139 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.006241/2.424, allocations: 2.433 MB / 1.55 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/2.425, allocations: 470.5 kB / 1.55 GB, free: 9.977 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0414/2.467, allocations: 16.82 MB / 1.567 GB, free: 9.016 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.868e-05/2.467, allocations: 52 kB / 1.567 GB, free: 8.965 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000236/2.467, allocations: 76 kB / 1.567 GB, free: 8.891 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001393/2.467, allocations: 27.89 kB / 1.567 GB, free: 8.863 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06091/2.528, allocations: 25.66 MB / 1.592 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.54e-05/2.528, allocations: 8 kB / 1.592 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/2.53, allocations: 319.5 kB / 1.592 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03022/2.561, allocations: 8.27 MB / 1.6 GB, free: 6.352 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001233/2.562, allocations: 108.1 kB / 1.6 GB, free: 6.246 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1105/2.672, allocations: 73.83 MB / 1.672 GB, free: 10.86 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/2.672, allocations: 7.938 kB / 1.672 GB, free: 10.85 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04649/2.719, allocations: 21.56 MB / 1.693 GB, free: 4.938 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00493/2.724, allocations: 1.358 MB / 1.695 GB, free: 3.555 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00196/2.726, allocations: 107.9 kB / 1.695 GB, free: 3.449 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00451/2.73, allocations: 291.6 kB / 1.695 GB, free: 3.164 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002333/2.733, allocations: 0.5299 MB / 1.696 GB, free: 2.629 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004716/2.733, allocations: 140 kB / 1.696 GB, free: 2.492 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003031/2.736, allocations: 1.776 MB / 1.697 GB, free: 0.7266 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.5e-07/2.736, allocations: 0 / 1.697 GB, free: 0.7266 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01005/2.746, allocations: 2.461 MB / 1.7 GB, free: 14.26 MB / 1.295 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.001108/2.747, allocations: 248.1 kB / 1.7 GB, free: 14.02 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02899/2.776, allocations: 14.53 MB / 1.714 GB, free: 15.29 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/2.776, allocations: 0 / 1.714 GB, free: 15.29 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.02136/2.798, allocations: 9.355 MB / 1.723 GB, free: 5.789 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009711/2.808, allocations: 1.378 MB / 1.725 GB, free: 4.461 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03759/2.845, allocations: 15.58 MB / 1.74 GB, free: 4.773 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00899/2.854, allocations: 4.89 MB / 1.745 GB, free: 15.84 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003282/2.858, allocations: 0.741 MB / 1.746 GB, free: 15.09 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007505/2.858, allocations: 203.4 kB / 1.746 GB, free: 14.89 MB / 1.342 GB Notification: Performance of SimCode: time 9.82e-07/2.858, allocations: 0 / 1.746 GB, free: 14.89 MB / 1.342 GB Notification: Performance of Templates: time 0.858/3.716, allocations: 147 MB / 1.889 GB, free: 396.7 MB / 1.357 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