Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001609/0.001609, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001834/0.001834, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.742 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 70.31 kB / 0.9081 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3252, allocations: 159.1 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04748/0.3727, allocations: 40.8 MB / 1.103 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02748/0.4003, allocations: 14.96 MB / 1.118 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005002/0.4053, allocations: 167.1 kB / 1.118 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.4162, allocations: 4.161 MB / 1.122 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007805/0.4241, allocations: 2.593 MB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007891/0.432, allocations: 2.894 MB / 1.128 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01689/0.4489, allocations: 11.45 MB / 1.139 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02376/0.4727, allocations: 14.85 MB / 1.153 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.4828, allocations: 4.891 MB / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.4939, allocations: 5.643 MB / 1.163 GB, free: 7.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003854/0.4978, allocations: 0.9492 MB / 1.164 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0068/0.5046, allocations: 2.032 MB / 1.166 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.006393/0.511, allocations: 3.699 MB / 1.17 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/0.5219, allocations: 4.299 MB / 1.174 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02065/0.5426, allocations: 14.29 MB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.5427, allocations: 4 kB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.217e-06/0.5427, allocations: 7.984 kB / 1.188 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004304/0.5431, allocations: 0 / 1.188 GB, free: 14.45 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.02083/0.564, allocations: 7.592 MB / 1.196 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.564, allocations: 12.03 kB / 1.196 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.5749, allocations: 1.526 MB / 1.197 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.5854, allocations: 4.205 MB / 1.201 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/0.5859, allocations: 452.5 kB / 1.202 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/0.5881, allocations: 0.5978 MB / 1.202 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.6108, allocations: 10.68 MB / 1.213 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002209/0.6111, allocations: 31.72 kB / 1.213 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.6121, allocations: 263.9 kB / 1.213 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002826/0.615, allocations: 0.7807 MB / 1.214 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/0.635, allocations: 8.557 MB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6189/1.254, allocations: 46.85 MB / 1.268 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005328/1.259, allocations: 4.312 MB / 1.272 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005358/1.265, allocations: 3.695 MB / 1.276 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/1.265, allocations: 39.97 kB / 1.276 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/1.265, allocations: 77.33 kB / 1.276 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 5.46e-06/1.265, allocations: 0 / 1.276 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4367/1.702, allocations: 122.8 MB / 1.396 GB, free: 47.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.702, allocations: 111.9 kB / 1.396 GB, free: 46.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/1.705, allocations: 2.685 MB / 1.398 GB, free: 44.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.706, allocations: 121.7 kB / 1.398 GB, free: 44.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/1.707, allocations: 2.671 MB / 1.401 GB, free: 41.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.709, allocations: 1.957 MB / 1.403 GB, free: 39.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/1.71, allocations: 0.9287 MB / 1.404 GB, free: 38.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/1.71, allocations: 305.1 kB / 1.404 GB, free: 38.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/1.715, allocations: 4.079 MB / 1.408 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004965/1.72, allocations: 5.019 MB / 1.413 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.73, allocations: 9.844 MB / 1.423 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/1.73, allocations: 11.94 kB / 1.423 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03363/1.764, allocations: 16.99 MB / 1.439 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/1.764, allocations: 16 kB / 1.439 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/1.764, allocations: 24 kB / 1.439 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03209/1.796, allocations: 9.146 MB / 1.448 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/1.799, allocations: 0.5265 MB / 1.449 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1199/1.919, allocations: 77.02 MB / 1.524 GB, free: 9.094 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/1.924, allocations: 283.7 kB / 1.524 GB, free: 8.816 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/1.925, allocations: 188 kB / 1.524 GB, free: 8.633 MB / 1.092 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.005759/1.931, allocations: 2.429 MB / 1.527 GB, free: 6.191 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.933, allocations: 474.5 kB / 1.527 GB, free: 5.723 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04102/1.974, allocations: 16.82 MB / 1.544 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.676e-05/1.974, allocations: 60 kB / 1.544 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002365/1.974, allocations: 72 kB / 1.544 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001213/1.974, allocations: 27.89 kB / 1.544 GB, free: 4.605 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05968/2.034, allocations: 25.66 MB / 1.569 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.959e-05/2.034, allocations: 11.94 kB / 1.569 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/2.036, allocations: 315.5 kB / 1.569 GB, free: 10.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02974/2.066, allocations: 8.339 MB / 1.577 GB, free: 2.02 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/2.067, allocations: 104 kB / 1.577 GB, free: 1.918 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1109/2.178, allocations: 73.89 MB / 1.65 GB, free: 6.496 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/2.178, allocations: 8 kB / 1.65 GB, free: 6.488 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04636/2.224, allocations: 21.58 MB / 1.671 GB, free: 0.5625 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003712/2.228, allocations: 1.357 MB / 1.672 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/2.229, allocations: 119.9 kB / 1.672 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004383/2.234, allocations: 291.6 kB / 1.672 GB, free: 14.78 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002656/2.236, allocations: 0.5182 MB / 1.673 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008481/2.237, allocations: 140 kB / 1.673 GB, free: 14.12 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003143/2.24, allocations: 1.78 MB / 1.675 GB, free: 12.35 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.6e-07/2.24, allocations: 0 / 1.675 GB, free: 12.35 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00903/2.25, allocations: 2.461 MB / 1.677 GB, free: 9.891 MB / 1.248 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.001325/2.251, allocations: 238.9 kB / 1.677 GB, free: 9.648 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.04085/2.292, allocations: 18.67 MB / 1.696 GB, free: 6.801 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.292, allocations: 5 kB / 1.696 GB, free: 6.797 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01967/2.311, allocations: 9.356 MB / 1.705 GB, free: 13.29 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007355/2.319, allocations: 1.372 MB / 1.706 GB, free: 11.96 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/2.351, allocations: 18.74 MB / 1.724 GB, free: 9.113 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007614/2.358, allocations: 4.897 MB / 1.729 GB, free: 4.172 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003245/2.361, allocations: 0.741 MB / 1.73 GB, free: 3.426 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/2.362, allocations: 191.4 kB / 1.73 GB, free: 3.238 MB / 1.295 GB Notification: Performance of SimCode: time 8.62e-07/2.362, allocations: 4 kB / 1.73 GB, free: 3.234 MB / 1.295 GB Notification: Performance of Templates: time 0.6722/3.034, allocations: 148.4 MB / 1.875 GB, free: 335.2 MB / 1.295 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches