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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001535/0.001535, allocations: 107 kB / 16.36 MB, free: 6.336 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.001545/0.001545, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.5 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.045/0.3816, allocations: 41.2 MB / 1.059 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0303/0.4119, allocations: 15.08 MB / 1.074 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005868/0.4178, allocations: 191.1 kB / 1.074 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.5926/1.01, allocations: 4.452 MB / 1.078 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/1.021, allocations: 2.787 MB / 1.081 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008719/1.03, allocations: 3.158 MB / 1.084 GB, free: 19.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02133/1.051, allocations: 11.41 MB / 1.095 GB, free: 19.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02272/1.074, allocations: 12.46 MB / 1.107 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/1.09, allocations: 4.822 MB / 1.112 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01487/1.105, allocations: 5.392 MB / 1.117 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.005645/1.11, allocations: 0.9484 MB / 1.118 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/1.121, allocations: 2.035 MB / 1.12 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.009089/1.13, allocations: 3.698 MB / 1.124 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01337/1.143, allocations: 4.296 MB / 1.128 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02027/1.163, allocations: 14.27 MB / 1.142 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.163, allocations: 4 kB / 1.142 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.325e-06/1.163, allocations: 0 / 1.142 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004785/1.164, allocations: 0 / 1.142 GB, free: 15.32 MB / 0.8575 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.02221/1.186, allocations: 7.605 MB / 1.149 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/1.186, allocations: 10.78 kB / 1.149 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/1.197, allocations: 1.52 MB / 1.151 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/1.209, allocations: 4.442 MB / 1.155 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/1.209, allocations: 456.6 kB / 1.156 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002831/1.212, allocations: 0.5901 MB / 1.156 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02722/1.24, allocations: 10.68 MB / 1.167 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003438/1.24, allocations: 35.64 kB / 1.167 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002495/1.242, allocations: 271.5 kB / 1.167 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002788/1.245, allocations: 0.7729 MB / 1.168 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/1.266, allocations: 8.561 MB / 1.176 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06958/1.335, allocations: 46.52 MB / 1.222 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006849/1.342, allocations: 4.31 MB / 1.226 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006063/1.348, allocations: 3.709 MB / 1.229 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/1.349, allocations: 45.3 kB / 1.229 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.883e-05/1.349, allocations: 81.33 kB / 1.23 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=353): time 5.881e-06/1.349, allocations: 4 kB / 1.23 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=578): time 0.4823/1.831, allocations: 122.7 MB / 1.349 GB, free: 11.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/1.831, allocations: 111.9 kB / 1.349 GB, free: 10.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/1.836, allocations: 2.673 MB / 1.352 GB, free: 8.238 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001149/1.837, allocations: 121.7 kB / 1.352 GB, free: 8.113 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001865/1.839, allocations: 2.683 MB / 1.355 GB, free: 5.406 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0025/1.841, allocations: 1.951 MB / 1.357 GB, free: 3.473 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002912/1.844, allocations: 0.9287 MB / 1.358 GB, free: 2.535 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/1.844, allocations: 301.1 kB / 1.358 GB, free: 2.238 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006596/1.851, allocations: 4.079 MB / 1.362 GB, free: 14.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00888/1.86, allocations: 5.015 MB / 1.367 GB, free: 8.816 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/1.876, allocations: 9.845 MB / 1.376 GB, free: 14.6 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.375e-05/1.876, allocations: 11.94 kB / 1.376 GB, free: 14.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04493/1.921, allocations: 17 MB / 1.393 GB, free: 13.46 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/1.921, allocations: 16 kB / 1.393 GB, free: 13.44 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.665e-05/1.921, allocations: 20 kB / 1.393 GB, free: 13.42 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03351/1.955, allocations: 9.091 MB / 1.402 GB, free: 4.297 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/1.957, allocations: 0.5226 MB / 1.402 GB, free: 3.773 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1135/2.071, allocations: 76.95 MB / 1.478 GB, free: 5.273 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/2.076, allocations: 279.8 kB / 1.478 GB, free: 5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008215/2.077, allocations: 192 kB / 1.478 GB, free: 4.812 MB / 1.186 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.006735/2.084, allocations: 2.428 MB / 1.48 GB, free: 2.375 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/2.086, allocations: 474.5 kB / 1.481 GB, free: 1.906 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03774/2.123, allocations: 16.82 MB / 1.497 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-05/2.123, allocations: 55.94 kB / 1.497 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001793/2.124, allocations: 72 kB / 1.497 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001119/2.124, allocations: 31.89 kB / 1.497 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0603/2.184, allocations: 25.65 MB / 1.523 GB, free: 6.906 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.695e-05/2.184, allocations: 8 kB / 1.523 GB, free: 6.898 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/2.186, allocations: 335.4 kB / 1.523 GB, free: 6.57 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03018/2.216, allocations: 8.261 MB / 1.531 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001687/2.218, allocations: 108 kB / 1.531 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6791/2.897, allocations: 73.83 MB / 1.603 GB, free: 399.5 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/2.897, allocations: 12.17 kB / 1.603 GB, free: 399.5 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04229/2.939, allocations: 21.56 MB / 1.624 GB, free: 390.6 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004529/2.944, allocations: 1.366 MB / 1.625 GB, free: 389.9 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/2.945, allocations: 107.5 kB / 1.626 GB, free: 389.9 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/2.949, allocations: 293 kB / 1.626 GB, free: 389.8 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/2.951, allocations: 0.5143 MB / 1.626 GB, free: 389.7 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003929/2.951, allocations: 146 kB / 1.627 GB, free: 389.7 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002145/2.953, allocations: 1.787 MB / 1.628 GB, free: 389 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.7e-07/2.953, allocations: 0 / 1.628 GB, free: 389 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.007004/2.96, allocations: 2.462 MB / 1.631 GB, free: 388.8 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.0006977/2.961, allocations: 252.2 kB / 1.631 GB, free: 388.6 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02256/2.984, allocations: 14.52 MB / 1.645 GB, free: 381.7 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/2.984, allocations: 15.09 kB / 1.645 GB, free: 381.7 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01682/3.001, allocations: 9.345 MB / 1.654 GB, free: 375.6 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007752/3.008, allocations: 1.371 MB / 1.656 GB, free: 374.5 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/3.035, allocations: 15.59 MB / 1.671 GB, free: 360.5 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007521/3.043, allocations: 4.894 MB / 1.676 GB, free: 356.7 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002818/3.046, allocations: 0.7449 MB / 1.676 GB, free: 356 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/3.047, allocations: 195.4 kB / 1.676 GB, free: 355.8 MB / 1.248 GB Notification: Performance of SimCode: time 1.723e-06/3.047, allocations: 0 / 1.676 GB, free: 355.8 MB / 1.248 GB Notification: Performance of Templates: time 0.1941/3.241, allocations: 144.7 MB / 1.818 GB, free: 212.5 MB / 1.248 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=480 -s gbode -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/jenkins1/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