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.001742/0.001748, 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.00189/0.001891, allocations: 193.2 kB / 16.26 MB, free: 6.621 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.438 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.509/2.509, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8321, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05066/0.8828, allocations: 40.81 MB / 0.989 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02958/0.9124, allocations: 14.97 MB / 1.004 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008072/0.9205, allocations: 171 kB / 1.004 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.9332, allocations: 4.172 MB / 1.008 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.944, allocations: 2.586 MB / 1.01 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01013/0.9541, allocations: 2.878 MB / 1.013 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01736/0.9715, allocations: 11.44 MB / 1.024 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02867/1, allocations: 14.85 MB / 1.039 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009551/1.01, allocations: 4.894 MB / 1.044 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/1.02, allocations: 5.632 MB / 1.049 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003417/1.023, allocations: 0.9531 MB / 1.05 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006517/1.03, allocations: 2.036 MB / 1.052 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005955/1.036, allocations: 3.703 MB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.008985/1.045, allocations: 4.295 MB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02139/1.066, allocations: 14.29 MB / 1.074 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.066, allocations: 0 / 1.074 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/1.066, allocations: 0 / 1.074 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0005283/1.067, allocations: 0 / 1.074 GB, free: 1.934 MB / 0.8262 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.0254/1.092, allocations: 7.593 MB / 1.081 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.092, allocations: 8.031 kB / 1.081 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.103, allocations: 1.514 MB / 1.083 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009262/1.113, allocations: 4.209 MB / 1.087 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/1.113, allocations: 456.5 kB / 1.087 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002222/1.115, allocations: 0.5939 MB / 1.088 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/1.138, allocations: 10.69 MB / 1.098 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001785/1.139, allocations: 39.61 kB / 1.098 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000919/1.14, allocations: 259.9 kB / 1.099 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002755/1.142, allocations: 0.7768 MB / 1.099 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/1.159, allocations: 8.561 MB / 1.108 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07319/1.232, allocations: 46.85 MB / 1.153 GB, free: 12.06 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/1.244, allocations: 4.306 MB / 1.158 GB, free: 7.746 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01106/1.255, allocations: 3.701 MB / 1.161 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005254/1.255, allocations: 42.72 kB / 1.161 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/1.256, allocations: 81.2 kB / 1.161 GB, free: 3.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=353): time 8.866e-06/1.256, allocations: 0 / 1.161 GB, free: 3.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=578): time 1.051/2.307, allocations: 122.8 MB / 1.281 GB, free: 265.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/2.307, allocations: 111 kB / 1.281 GB, free: 265 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/2.312, allocations: 2.678 MB / 1.284 GB, free: 264 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001244/2.313, allocations: 123.9 kB / 1.284 GB, free: 263.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/2.315, allocations: 2.678 MB / 1.287 GB, free: 261.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002362/2.317, allocations: 1.958 MB / 1.289 GB, free: 260.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/2.319, allocations: 0.92 MB / 1.29 GB, free: 259.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.498e-05/2.319, allocations: 310.6 kB / 1.29 GB, free: 259.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005458/2.324, allocations: 4.085 MB / 1.294 GB, free: 257.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005524/2.33, allocations: 5.017 MB / 1.299 GB, free: 255.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/2.341, allocations: 9.844 MB / 1.308 GB, free: 249.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/2.341, allocations: 11.06 kB / 1.308 GB, free: 249.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03337/2.374, allocations: 16.99 MB / 1.325 GB, free: 240.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/2.374, allocations: 15.12 kB / 1.325 GB, free: 240.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/2.374, allocations: 31.38 kB / 1.325 GB, free: 240.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02815/2.403, allocations: 9.138 MB / 1.334 GB, free: 231.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/2.405, allocations: 0.5265 MB / 1.334 GB, free: 230.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08567/2.491, allocations: 77.02 MB / 1.41 GB, free: 152.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005904/2.497, allocations: 279.7 kB / 1.41 GB, free: 152.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/2.498, allocations: 192 kB / 1.41 GB, free: 151.9 MB / 1.014 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.005436/2.503, allocations: 2.423 MB / 1.412 GB, free: 149.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/2.505, allocations: 474.5 kB / 1.413 GB, free: 149 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03349/2.538, allocations: 16.81 MB / 1.429 GB, free: 132 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.233e-05/2.539, allocations: 60 kB / 1.429 GB, free: 132 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002096/2.539, allocations: 75.56 kB / 1.429 GB, free: 131.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001147/2.539, allocations: 27.89 kB / 1.43 GB, free: 131.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04889/2.588, allocations: 25.66 MB / 1.455 GB, free: 106 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.161e-05/2.588, allocations: 8 kB / 1.455 GB, free: 106 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/2.59, allocations: 315.5 kB / 1.455 GB, free: 105.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0266/2.616, allocations: 8.344 MB / 1.463 GB, free: 97.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008814/2.617, allocations: 107.9 kB / 1.463 GB, free: 97.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08439/2.702, allocations: 73.89 MB / 1.535 GB, free: 21.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/2.702, allocations: 8 kB / 1.535 GB, free: 21.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03987/2.742, allocations: 21.57 MB / 1.556 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/2.746, allocations: 1.354 MB / 1.558 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001781/2.748, allocations: 115.9 kB / 1.558 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004193/2.752, allocations: 283.7 kB / 1.558 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00291/2.755, allocations: 0.5258 MB / 1.559 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007144/2.756, allocations: 144 kB / 1.559 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003366/2.759, allocations: 1.776 MB / 1.56 GB, free: 11.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.9e-07/2.759, allocations: 0 / 1.56 GB, free: 11.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0119/2.771, allocations: 2.465 MB / 1.563 GB, free: 9.16 MB / 1.029 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.001462/2.773, allocations: 241.7 kB / 1.563 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.03888/2.811, allocations: 18.68 MB / 1.581 GB, free: 6.066 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/2.811, allocations: 1 kB / 1.581 GB, free: 6.066 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.02073/2.832, allocations: 9.343 MB / 1.59 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008534/2.841, allocations: 1.377 MB / 1.592 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/2.874, allocations: 18.75 MB / 1.61 GB, free: 8.395 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007403/2.881, allocations: 4.896 MB / 1.615 GB, free: 3.457 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003212/2.884, allocations: 0.7449 MB / 1.616 GB, free: 2.707 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/2.885, allocations: 195.4 kB / 1.616 GB, free: 2.516 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/2.885, allocations: 0 / 1.616 GB, free: 2.516 MB / 1.076 GB Notification: Performance of Templates: time 0.7594/3.644, allocations: 148.4 MB / 1.761 GB, free: 361.4 MB / 1.154 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