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.002113/0.002113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002343/0.002343, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.551/1.551, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.789/2.789, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.88 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7819/0.784, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05327/0.8373, allocations: 40.8 MB / 1.056 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0295/0.8668, allocations: 15.05 MB / 1.071 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006591/0.8735, allocations: 171 kB / 1.071 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.012/0.8855, allocations: 4.15 MB / 1.075 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009701/0.8953, allocations: 2.64 MB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009539/0.9048, allocations: 2.892 MB / 1.081 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02489/0.9297, allocations: 16 MB / 1.096 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02819/0.958, allocations: 13.65 MB / 1.11 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.969, allocations: 4.102 MB / 1.114 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.982, allocations: 5.483 MB / 1.119 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003381/0.9854, allocations: 0.6133 MB / 1.12 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00704/0.9925, allocations: 2.036 MB / 1.122 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.006933/0.9994, allocations: 3.363 MB / 1.125 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01161/1.011, allocations: 3.924 MB / 1.129 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02391/1.035, allocations: 14.02 MB / 1.143 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.035, allocations: 4 kB / 1.143 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.412e-06/1.035, allocations: 0 / 1.143 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0005993/1.036, allocations: 0 / 1.143 GB, free: 1.426 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.02825/1.064, allocations: 7.6 MB / 1.15 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.204e-05/1.064, allocations: 12.03 kB / 1.15 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/1.078, allocations: 1.511 MB / 1.151 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/1.09, allocations: 4.213 MB / 1.156 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006359/1.091, allocations: 460.4 kB / 1.156 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003521/1.095, allocations: 0.59 MB / 1.157 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/1.122, allocations: 10.69 MB / 1.167 GB, free: 7.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002383/1.123, allocations: 35.62 kB / 1.167 GB, free: 7.781 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/1.124, allocations: 259.9 kB / 1.167 GB, free: 7.527 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002843/1.127, allocations: 0.7846 MB / 1.168 GB, free: 6.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02301/1.15, allocations: 8.557 MB / 1.176 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07957/1.229, allocations: 46.85 MB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00813/1.238, allocations: 4.313 MB / 1.226 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0072/1.245, allocations: 3.705 MB / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/1.245, allocations: 38.77 kB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-05/1.246, allocations: 77.28 kB / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 6.061e-06/1.246, allocations: 0 / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 1.202/2.447, allocations: 122.7 MB / 1.35 GB, free: 136 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/2.447, allocations: 107.9 kB / 1.35 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/2.452, allocations: 2.685 MB / 1.353 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001234/2.453, allocations: 121.7 kB / 1.353 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/2.454, allocations: 2.682 MB / 1.355 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/2.456, allocations: 1.957 MB / 1.357 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002647/2.459, allocations: 0.9209 MB / 1.358 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/2.459, allocations: 301.1 kB / 1.359 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005347/2.464, allocations: 4.083 MB / 1.363 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/2.47, allocations: 5.015 MB / 1.367 GB, free: 117.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/2.482, allocations: 9.849 MB / 1.377 GB, free: 107.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-05/2.483, allocations: 11.94 kB / 1.377 GB, free: 107.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03723/2.52, allocations: 16.99 MB / 1.394 GB, free: 90.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/2.52, allocations: 16 kB / 1.394 GB, free: 90.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/2.52, allocations: 20 kB / 1.394 GB, free: 90.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0304/2.55, allocations: 9.09 MB / 1.403 GB, free: 81.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/2.553, allocations: 0.5187 MB / 1.403 GB, free: 80.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08899/2.642, allocations: 70.52 MB / 1.472 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/2.647, allocations: 275.8 kB / 1.472 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/2.648, allocations: 192 kB / 1.472 GB, free: 8.293 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.005409/2.654, allocations: 2.424 MB / 1.475 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/2.656, allocations: 470.5 kB / 1.475 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04426/2.7, allocations: 16.82 MB / 1.492 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.63e-05/2.7, allocations: 61.72 kB / 1.492 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002278/2.7, allocations: 72 kB / 1.492 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001125/2.7, allocations: 23.91 kB / 1.492 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06483/2.765, allocations: 25.66 MB / 1.517 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.784e-05/2.765, allocations: 12.94 kB / 1.517 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/2.767, allocations: 319.5 kB / 1.517 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03165/2.799, allocations: 8.267 MB / 1.525 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001278/2.8, allocations: 112 kB / 1.525 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1165/2.917, allocations: 67.39 MB / 1.591 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/2.917, allocations: 8 kB / 1.591 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05509/2.972, allocations: 21.58 MB / 1.612 GB, free: 6.863 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005142/2.977, allocations: 1.362 MB / 1.614 GB, free: 5.477 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002422/2.979, allocations: 104 kB / 1.614 GB, free: 5.375 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004706/2.984, allocations: 287.6 kB / 1.614 GB, free: 5.094 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003605/2.988, allocations: 0.5221 MB / 1.614 GB, free: 4.562 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001262/2.989, allocations: 144.1 kB / 1.615 GB, free: 4.422 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004132/2.993, allocations: 1.776 MB / 1.616 GB, free: 2.656 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.41e-07/2.993, allocations: 0 / 1.616 GB, free: 2.656 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0115/3.005, allocations: 2.461 MB / 1.619 GB, free: 200 kB / 1.139 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.001269/3.006, allocations: 254.6 kB / 1.619 GB, free: 15.93 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0294/3.035, allocations: 14.47 MB / 1.633 GB, free: 1.273 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/3.036, allocations: 8.062 kB / 1.633 GB, free: 1.266 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.02248/3.058, allocations: 9.356 MB / 1.642 GB, free: 7.762 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/3.069, allocations: 1.279 MB / 1.643 GB, free: 6.508 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03345/3.102, allocations: 18.75 MB / 1.662 GB, free: 3.633 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007705/3.11, allocations: 4.89 MB / 1.667 GB, free: 14.7 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003139/3.113, allocations: 0.7449 MB / 1.667 GB, free: 13.95 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/3.114, allocations: 195.4 kB / 1.667 GB, free: 13.76 MB / 1.201 GB Notification: Performance of SimCode: time 2.575e-06/3.114, allocations: 0 / 1.667 GB, free: 13.76 MB / 1.201 GB Notification: Performance of Templates: time 0.8308/3.944, allocations: 142.8 MB / 1.807 GB, free: 356 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