Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001585/0.001585, allocations: 108 kB / 15.6 MB, free: 132 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.00188/0.00188, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.666/1.666, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.806/2.806, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 67.91 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8755/0.8777, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05368/0.9314, allocations: 41.18 MB / 1.058 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02867/0.9601, allocations: 15.08 MB / 1.072 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005977/0.9661, allocations: 191 kB / 1.072 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.013/0.9793, allocations: 4.464 MB / 1.077 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.9909, allocations: 2.794 MB / 1.08 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/1.001, allocations: 3.163 MB / 1.083 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01622/1.017, allocations: 11.39 MB / 1.094 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01835/1.036, allocations: 12.65 MB / 1.106 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008887/1.045, allocations: 4.795 MB / 1.111 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/1.056, allocations: 5.378 MB / 1.116 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003945/1.06, allocations: 0.9531 MB / 1.117 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007587/1.067, allocations: 2.044 MB / 1.119 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.006716/1.074, allocations: 3.688 MB / 1.123 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.009105/1.083, allocations: 4.295 MB / 1.127 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01763/1.101, allocations: 14.19 MB / 1.141 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.101, allocations: 0 / 1.141 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.984e-06/1.101, allocations: 4 kB / 1.141 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004202/1.101, allocations: 0 / 1.141 GB, free: 3.91 MB / 0.8887 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.01988/1.121, allocations: 7.593 MB / 1.148 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.121, allocations: 15.91 kB / 1.148 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/1.132, allocations: 1.518 MB / 1.15 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008848/1.14, allocations: 4.205 MB / 1.154 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/1.141, allocations: 452.5 kB / 1.154 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/1.143, allocations: 0.5939 MB / 1.155 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/1.164, allocations: 10.69 MB / 1.165 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/1.165, allocations: 27.62 kB / 1.165 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008104/1.165, allocations: 267.9 kB / 1.165 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003053/1.169, allocations: 0.7768 MB / 1.166 GB, free: 9.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/1.186, allocations: 8.561 MB / 1.174 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07659/1.263, allocations: 46.84 MB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007359/1.27, allocations: 4.311 MB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006207/1.276, allocations: 3.701 MB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/1.276, allocations: 34.78 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.882e-05/1.277, allocations: 81.34 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 4.729e-06/1.277, allocations: 0 / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 1.185/2.462, allocations: 122.8 MB / 1.348 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/2.462, allocations: 111.9 kB / 1.348 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/2.465, allocations: 2.685 MB / 1.351 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/2.467, allocations: 121.7 kB / 1.351 GB, free: 135.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/2.468, allocations: 2.682 MB / 1.354 GB, free: 132.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002151/2.47, allocations: 1.954 MB / 1.355 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/2.472, allocations: 0.9209 MB / 1.356 GB, free: 129.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/2.472, allocations: 301.1 kB / 1.357 GB, free: 129.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004636/2.476, allocations: 4.083 MB / 1.361 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005091/2.482, allocations: 5.019 MB / 1.366 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/2.493, allocations: 9.848 MB / 1.375 GB, free: 110 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/2.493, allocations: 11.94 kB / 1.375 GB, free: 109.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0337/2.526, allocations: 16.99 MB / 1.392 GB, free: 92.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/2.526, allocations: 17.88 kB / 1.392 GB, free: 92.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/2.526, allocations: 20 kB / 1.392 GB, free: 92.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02886/2.555, allocations: 9.159 MB / 1.401 GB, free: 83.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/2.558, allocations: 0.5148 MB / 1.401 GB, free: 83.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08569/2.643, allocations: 77.02 MB / 1.476 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0062/2.65, allocations: 277.3 kB / 1.477 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/2.651, allocations: 199.9 kB / 1.477 GB, free: 4.055 MB / 0.9981 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.00424/2.655, allocations: 2.421 MB / 1.479 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/2.656, allocations: 470.5 kB / 1.48 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04103/2.697, allocations: 16.82 MB / 1.496 GB, free: 204 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.888e-05/2.697, allocations: 52 kB / 1.496 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002466/2.698, allocations: 72 kB / 1.496 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/2.698, allocations: 27.89 kB / 1.496 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06449/2.762, allocations: 25.66 MB / 1.521 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-05/2.762, allocations: 8 kB / 1.521 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/2.764, allocations: 323.5 kB / 1.522 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03413/2.799, allocations: 8.325 MB / 1.53 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001472/2.8, allocations: 119.9 kB / 1.53 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.117/2.917, allocations: 73.88 MB / 1.602 GB, free: 1.926 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/2.917, allocations: 11.94 kB / 1.602 GB, free: 1.914 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04736/2.965, allocations: 21.58 MB / 1.623 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003637/2.968, allocations: 1.358 MB / 1.624 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000998/2.969, allocations: 108 kB / 1.625 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/2.973, allocations: 287.6 kB / 1.625 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0022/2.975, allocations: 0.5258 MB / 1.625 GB, free: 9.688 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004387/2.975, allocations: 144 kB / 1.626 GB, free: 9.547 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002954/2.978, allocations: 1.78 MB / 1.627 GB, free: 7.777 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/2.978, allocations: 0 / 1.627 GB, free: 7.777 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.008267/2.987, allocations: 2.465 MB / 1.63 GB, free: 5.312 MB / 1.154 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.0007302/2.987, allocations: 239.9 kB / 1.63 GB, free: 5.066 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.03828/3.026, allocations: 18.68 MB / 1.648 GB, free: 2.215 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/3.026, allocations: 4 kB / 1.648 GB, free: 2.211 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.01916/3.045, allocations: 9.35 MB / 1.657 GB, free: 8.711 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007824/3.053, allocations: 1.378 MB / 1.659 GB, free: 7.383 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/3.088, allocations: 15.72 MB / 1.674 GB, free: 7.559 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009843/3.098, allocations: 4.897 MB / 1.679 GB, free: 2.617 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003349/3.102, allocations: 0.7371 MB / 1.679 GB, free: 1.875 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007003/3.102, allocations: 203.4 kB / 1.68 GB, free: 1.68 MB / 1.201 GB Notification: Performance of SimCode: time 1.152e-06/3.102, allocations: 7.938 kB / 1.68 GB, free: 1.672 MB / 1.201 GB Notification: Performance of Templates: time 0.8674/3.97, allocations: 147.5 MB / 1.824 GB, free: 340.4 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches