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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00155/0.00155, allocations: 118.8 kB / 16.37 MB, free: 6.004 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.001792/0.001792, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 72.88 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3345, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0427/0.3772, allocations: 41.18 MB / 1.067 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6213/0.9986, allocations: 15.07 MB / 1.082 GB, free: 19.87 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006097/1.005, allocations: 189.2 kB / 1.082 GB, free: 19.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/1.017, allocations: 4.468 MB / 1.086 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/1.027, allocations: 2.792 MB / 1.089 GB, free: 19.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008623/1.035, allocations: 3.153 MB / 1.092 GB, free: 19.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01893/1.054, allocations: 11.42 MB / 1.103 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02031/1.075, allocations: 12.46 MB / 1.115 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/1.087, allocations: 4.82 MB / 1.12 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01301/1.1, allocations: 5.391 MB / 1.125 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004115/1.104, allocations: 0.9492 MB / 1.126 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/1.114, allocations: 2.033 MB / 1.128 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.009507/1.123, allocations: 3.695 MB / 1.132 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01726/1.141, allocations: 4.298 MB / 1.136 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0208/1.162, allocations: 14.27 MB / 1.15 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.162, allocations: 0 / 1.15 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.445e-06/1.162, allocations: 4 kB / 1.15 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004579/1.162, allocations: 0 / 1.15 GB, free: 8.793 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.02502/1.187, allocations: 7.611 MB / 1.157 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/1.187, allocations: 8.031 kB / 1.157 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/1.2, allocations: 1.523 MB / 1.159 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/1.213, allocations: 4.433 MB / 1.163 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004456/1.213, allocations: 454.3 kB / 1.164 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002991/1.216, allocations: 0.6002 MB / 1.164 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/1.241, allocations: 10.68 MB / 1.175 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002375/1.242, allocations: 31.66 kB / 1.175 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/1.243, allocations: 266.9 kB / 1.175 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/1.246, allocations: 0.7729 MB / 1.176 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/1.266, allocations: 8.559 MB / 1.184 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06467/1.33, allocations: 46.53 MB / 1.23 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006324/1.337, allocations: 4.309 MB / 1.234 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005356/1.342, allocations: 3.711 MB / 1.237 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/1.342, allocations: 34.78 kB / 1.237 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.761e-05/1.343, allocations: 73.34 kB / 1.237 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=353): time 5.24e-06/1.343, allocations: 0 / 1.237 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=578): time 0.4681/1.811, allocations: 122.7 MB / 1.357 GB, free: 2.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/1.811, allocations: 107.9 kB / 1.357 GB, free: 2.508 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/1.815, allocations: 2.681 MB / 1.36 GB, free: 15.83 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/1.816, allocations: 125.6 kB / 1.36 GB, free: 15.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001946/1.818, allocations: 2.677 MB / 1.363 GB, free: 13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.003098/1.821, allocations: 1.953 MB / 1.365 GB, free: 11.06 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003332/1.824, allocations: 0.9209 MB / 1.366 GB, free: 10.13 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.825, allocations: 305.1 kB / 1.366 GB, free: 9.832 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006344/1.831, allocations: 4.083 MB / 1.37 GB, free: 5.742 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006921/1.838, allocations: 5.013 MB / 1.375 GB, free: 416 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/1.851, allocations: 9.847 MB / 1.384 GB, free: 6.188 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/1.851, allocations: 8 kB / 1.384 GB, free: 6.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03778/1.889, allocations: 17 MB / 1.401 GB, free: 5.051 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/1.889, allocations: 16 kB / 1.401 GB, free: 5.035 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/1.889, allocations: 23.98 kB / 1.401 GB, free: 5.012 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03075/1.92, allocations: 9.085 MB / 1.41 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/1.922, allocations: 0.5264 MB / 1.41 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1073/2.03, allocations: 76.96 MB / 1.486 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/2.035, allocations: 275.8 kB / 1.486 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008712/2.036, allocations: 188 kB / 1.486 GB, free: 12.41 MB / 1.201 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.004476/2.04, allocations: 2.433 MB / 1.488 GB, free: 9.969 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/2.041, allocations: 470.5 kB / 1.489 GB, free: 9.504 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03652/2.078, allocations: 16.82 MB / 1.505 GB, free: 8.535 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.101e-05/2.078, allocations: 52 kB / 1.505 GB, free: 8.484 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002066/2.078, allocations: 72 kB / 1.505 GB, free: 8.414 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/2.078, allocations: 27.89 kB / 1.505 GB, free: 8.387 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05375/2.132, allocations: 25.66 MB / 1.53 GB, free: 14.49 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-05/2.132, allocations: 16 kB / 1.53 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/2.134, allocations: 319.5 kB / 1.531 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02767/2.162, allocations: 8.265 MB / 1.539 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001363/2.163, allocations: 108 kB / 1.539 GB, free: 5.75 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6487/2.812, allocations: 73.83 MB / 1.611 GB, free: 388.5 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/2.812, allocations: 8.375 kB / 1.611 GB, free: 388.5 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03982/2.852, allocations: 21.57 MB / 1.632 GB, free: 379.6 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003587/2.855, allocations: 1.363 MB / 1.633 GB, free: 378.9 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009757/2.856, allocations: 102.1 kB / 1.634 GB, free: 378.8 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/2.859, allocations: 290 kB / 1.634 GB, free: 378.7 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001909/2.861, allocations: 0.5237 MB / 1.634 GB, free: 378.6 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003834/2.862, allocations: 140.6 kB / 1.634 GB, free: 378.6 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002031/2.864, allocations: 1.78 MB / 1.636 GB, free: 377.9 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.6e-07/2.864, allocations: 0 / 1.636 GB, free: 377.9 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.006468/2.87, allocations: 2.464 MB / 1.639 GB, free: 377.7 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.0007867/2.871, allocations: 241.6 kB / 1.639 GB, free: 377.5 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02107/2.892, allocations: 14.54 MB / 1.653 GB, free: 370.6 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/2.892, allocations: 6.906 kB / 1.653 GB, free: 370.6 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01623/2.908, allocations: 9.351 MB / 1.662 GB, free: 362.9 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006224/2.914, allocations: 1.382 MB / 1.664 GB, free: 361.8 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/2.937, allocations: 15.58 MB / 1.679 GB, free: 347 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005446/2.943, allocations: 4.897 MB / 1.684 GB, free: 342.1 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002308/2.945, allocations: 0.7449 MB / 1.684 GB, free: 341.4 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/2.946, allocations: 195.4 kB / 1.684 GB, free: 341.2 MB / 1.248 GB Notification: Performance of SimCode: time 7.51e-07/2.946, allocations: 2.625 kB / 1.684 GB, free: 341.2 MB / 1.248 GB Notification: Performance of Templates: time 0.1865/3.132, allocations: 144.7 MB / 1.826 GB, free: 197.8 MB / 1.248 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=480 -s gbode -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