Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001337/0.001337, allocations: 109.2 kB / 15.99 MB, free: 6.352 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.00126/0.00126, allocations: 194.1 kB / 16.91 MB, free: 6.184 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 / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 482.4 MB / 0.755 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.38 kB / 0.924 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9203/0.9223, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.06248/0.9849, allocations: 40.8 MB / 1.122 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03146/1.016, allocations: 14.96 MB / 1.137 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007085/1.024, allocations: 170.5 kB / 1.137 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01447/1.038, allocations: 4.164 MB / 1.141 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0123/1.05, allocations: 2.592 MB / 1.144 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01045/1.061, allocations: 2.896 MB / 1.146 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01961/1.081, allocations: 11.43 MB / 1.158 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02626/1.107, allocations: 14.86 MB / 1.172 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/1.119, allocations: 4.894 MB / 1.177 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/1.13, allocations: 5.632 MB / 1.182 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003937/1.134, allocations: 0.9492 MB / 1.183 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00805/1.142, allocations: 2.04 MB / 1.185 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00744/1.149, allocations: 3.692 MB / 1.189 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01232/1.162, allocations: 4.299 MB / 1.193 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/1.18, allocations: 12.17 MB / 1.205 GB, free: 1.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/1.18, allocations: 0 / 1.205 GB, free: 1.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.455e-06/1.18, allocations: 0 / 1.205 GB, free: 1.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005027/1.18, allocations: 0 / 1.205 GB, free: 1.23 MB / 0.92 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.02589/1.206, allocations: 7.6 MB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.206, allocations: 15.97 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/1.218, allocations: 1.518 MB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/1.229, allocations: 4.209 MB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004835/1.229, allocations: 456.5 kB / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002844/1.232, allocations: 0.5977 MB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02729/1.259, allocations: 10.68 MB / 1.23 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004006/1.26, allocations: 31.77 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002628/1.262, allocations: 255.9 kB / 1.23 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00312/1.265, allocations: 0.7807 MB / 1.231 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/1.287, allocations: 8.557 MB / 1.239 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07895/1.366, allocations: 46.86 MB / 1.285 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007436/1.374, allocations: 4.308 MB / 1.289 GB, free: 7.031 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006719/1.38, allocations: 3.701 MB / 1.292 GB, free: 3.324 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005167/1.381, allocations: 34.78 kB / 1.293 GB, free: 3.289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.116e-05/1.381, allocations: 77.34 kB / 1.293 GB, free: 3.203 MB / 1.014 GB Notification: Performance of pre-optimization done (n=353): time 6.472e-06/1.381, allocations: 0 / 1.293 GB, free: 3.203 MB / 1.014 GB Notification: Performance of matching and sorting (n=578): time 0.5224/1.904, allocations: 122.8 MB / 1.413 GB, free: 7.527 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.904, allocations: 111.9 kB / 1.413 GB, free: 7.402 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005886/1.91, allocations: 2.681 MB / 1.415 GB, free: 4.723 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001478/1.911, allocations: 125.7 kB / 1.415 GB, free: 4.594 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002657/1.914, allocations: 2.675 MB / 1.418 GB, free: 1.891 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.003548/1.917, allocations: 1.956 MB / 1.42 GB, free: 15.91 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004241/1.922, allocations: 0.9248 MB / 1.421 GB, free: 14.97 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.922, allocations: 305.1 kB / 1.421 GB, free: 14.67 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007856/1.93, allocations: 4.071 MB / 1.425 GB, free: 10.59 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009319/1.939, allocations: 5.019 MB / 1.43 GB, free: 5.25 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/1.958, allocations: 9.855 MB / 1.44 GB, free: 11.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.176e-05/1.958, allocations: 4 kB / 1.44 GB, free: 11.01 MB / 1.17 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04814/2.006, allocations: 16.99 MB / 1.456 GB, free: 9.879 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/2.006, allocations: 12 kB / 1.456 GB, free: 9.867 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.222e-05/2.006, allocations: 28.12 kB / 1.456 GB, free: 9.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03479/2.041, allocations: 9.15 MB / 1.465 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/2.044, allocations: 0.5226 MB / 1.466 GB, free: 128 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1283/2.172, allocations: 77.02 MB / 1.541 GB, free: 1.516 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006225/2.178, allocations: 287.7 kB / 1.541 GB, free: 1.234 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/2.18, allocations: 192 kB / 1.541 GB, free: 1.047 MB / 1.264 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.5569/2.737, allocations: 2.419 MB / 1.544 GB, free: 399.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/2.738, allocations: 472 kB / 1.544 GB, free: 399.9 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04017/2.778, allocations: 16.82 MB / 1.561 GB, free: 397.7 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-05/2.778, allocations: 54.22 kB / 1.561 GB, free: 397.7 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002648/2.779, allocations: 74.88 kB / 1.561 GB, free: 397.7 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001319/2.779, allocations: 28.03 kB / 1.561 GB, free: 397.7 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05619/2.835, allocations: 25.66 MB / 1.586 GB, free: 387.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.469e-05/2.835, allocations: 11 kB / 1.586 GB, free: 387.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/2.837, allocations: 317 kB / 1.586 GB, free: 387.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02894/2.866, allocations: 8.336 MB / 1.594 GB, free: 385.8 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/2.867, allocations: 109.5 kB / 1.594 GB, free: 385.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08325/2.95, allocations: 73.9 MB / 1.667 GB, free: 327.1 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/2.951, allocations: 11.94 kB / 1.667 GB, free: 327.1 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03743/2.988, allocations: 21.57 MB / 1.688 GB, free: 305.1 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00364/2.992, allocations: 1.354 MB / 1.689 GB, free: 303.8 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/2.993, allocations: 111.9 kB / 1.689 GB, free: 303.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/2.996, allocations: 291.6 kB / 1.689 GB, free: 303.4 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00185/2.998, allocations: 0.5221 MB / 1.69 GB, free: 302.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003906/2.999, allocations: 140 kB / 1.69 GB, free: 302.7 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002147/3.001, allocations: 1.78 MB / 1.692 GB, free: 300.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/3.001, allocations: 0 / 1.692 GB, free: 300.9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.007214/3.008, allocations: 2.461 MB / 1.694 GB, free: 298.5 MB / 1.264 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.0008551/3.009, allocations: 241.2 kB / 1.694 GB, free: 298.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.03072/3.04, allocations: 18.67 MB / 1.713 GB, free: 279.4 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/3.04, allocations: 1 kB / 1.713 GB, free: 279.4 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01622/3.056, allocations: 9.36 MB / 1.722 GB, free: 269.9 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006095/3.062, allocations: 1.37 MB / 1.723 GB, free: 268.6 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/3.086, allocations: 19.65 MB / 1.742 GB, free: 248.8 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004933/3.091, allocations: 4.998 MB / 1.747 GB, free: 243.8 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/3.092, allocations: 219.4 kB / 1.747 GB, free: 243.6 MB / 1.264 GB Notification: Performance of SimCode: time 8.81e-07/3.092, allocations: 0 / 1.747 GB, free: 243.6 MB / 1.264 GB Notification: Performance of Templates: time 0.934/4.026, allocations: 474.6 MB / 2.211 GB, free: 298.6 MB / 1.311 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches