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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001571/0.001571, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001709/0.00171, allocations: 187 kB / 17.34 MB, free: 5.742 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 60.12 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9388/0.9403, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04792/0.9882, allocations: 41.18 MB / 1.249 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02661/1.015, allocations: 15.08 MB / 1.263 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005/1.02, allocations: 187.1 kB / 1.264 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01288/1.033, allocations: 4.465 MB / 1.268 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008856/1.042, allocations: 2.794 MB / 1.271 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008972/1.051, allocations: 3.156 MB / 1.274 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01607/1.067, allocations: 11.4 MB / 1.285 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02064/1.088, allocations: 12.47 MB / 1.297 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009468/1.097, allocations: 4.904 MB / 1.302 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/1.107, allocations: 5.39 MB / 1.307 GB, free: 8.188 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003623/1.111, allocations: 0.9453 MB / 1.308 GB, free: 7.242 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007168/1.118, allocations: 2.044 MB / 1.31 GB, free: 5.195 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.007159/1.125, allocations: 3.688 MB / 1.314 GB, free: 1.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01088/1.136, allocations: 4.303 MB / 1.318 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02112/1.157, allocations: 14.28 MB / 1.332 GB, free: 14.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.158, allocations: 3.938 kB / 1.332 GB, free: 14.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.224e-06/1.158, allocations: 0 / 1.332 GB, free: 14.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0005019/1.158, allocations: 0 / 1.332 GB, free: 14.86 MB / 1.061 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.02538/1.183, allocations: 7.6 MB / 1.339 GB, free: 7.176 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.184, allocations: 12.03 kB / 1.339 GB, free: 7.164 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/1.196, allocations: 1.522 MB / 1.341 GB, free: 5.633 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009837/1.205, allocations: 4.439 MB / 1.345 GB, free: 1.117 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004205/1.206, allocations: 456.5 kB / 1.345 GB, free: 0.668 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/1.209, allocations: 0.5939 MB / 1.346 GB, free: 76 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02479/1.233, allocations: 10.69 MB / 1.356 GB, free: 5.012 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000229/1.234, allocations: 31.7 kB / 1.357 GB, free: 4.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/1.235, allocations: 263.9 kB / 1.357 GB, free: 4.723 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003131/1.238, allocations: 0.7768 MB / 1.358 GB, free: 3.941 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/1.257, allocations: 8.561 MB / 1.366 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06367/1.321, allocations: 46.54 MB / 1.411 GB, free: 9.055 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0061/1.327, allocations: 4.316 MB / 1.416 GB, free: 4.727 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005537/1.332, allocations: 3.716 MB / 1.419 GB, free: 1.004 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/1.333, allocations: 42.7 kB / 1.419 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/1.333, allocations: 81.28 kB / 1.419 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of pre-optimization done (n=353): time 4.98e-06/1.333, allocations: 4 kB / 1.419 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of matching and sorting (n=578): time 0.54/1.873, allocations: 122.8 MB / 1.539 GB, free: 5.254 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.873, allocations: 115.9 kB / 1.539 GB, free: 5.125 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005153/1.878, allocations: 2.677 MB / 1.542 GB, free: 2.449 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001338/1.879, allocations: 121.7 kB / 1.542 GB, free: 2.324 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002281/1.882, allocations: 2.683 MB / 1.545 GB, free: 15.61 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003216/1.885, allocations: 1.952 MB / 1.547 GB, free: 13.63 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004084/1.889, allocations: 0.9287 MB / 1.547 GB, free: 12.69 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.889, allocations: 301.1 kB / 1.548 GB, free: 12.39 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006948/1.896, allocations: 4.083 MB / 1.552 GB, free: 8.305 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008233/1.904, allocations: 5.008 MB / 1.557 GB, free: 2.969 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8542/2.759, allocations: 9.848 MB / 1.566 GB, free: 318.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.137e-05/2.759, allocations: 6.406 kB / 1.566 GB, free: 318.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04076/2.799, allocations: 16.99 MB / 1.583 GB, free: 312.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/2.799, allocations: 19.72 kB / 1.583 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/2.8, allocations: 23.2 kB / 1.583 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02992/2.829, allocations: 9.082 MB / 1.592 GB, free: 310.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/2.832, allocations: 0.5226 MB / 1.592 GB, free: 310.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08924/2.921, allocations: 76.95 MB / 1.667 GB, free: 241.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005453/2.927, allocations: 283.8 kB / 1.668 GB, free: 241.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008713/2.928, allocations: 188 kB / 1.668 GB, free: 241 MB / 1.279 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.004263/2.932, allocations: 2.423 MB / 1.67 GB, free: 238.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/2.933, allocations: 470.5 kB / 1.671 GB, free: 238.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03441/2.967, allocations: 16.82 MB / 1.687 GB, free: 221.2 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/2.968, allocations: 56 kB / 1.687 GB, free: 221.1 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001954/2.968, allocations: 72 kB / 1.687 GB, free: 221 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/2.968, allocations: 27.89 kB / 1.687 GB, free: 221 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04835/3.016, allocations: 25.66 MB / 1.712 GB, free: 195.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-05/3.016, allocations: 4 kB / 1.712 GB, free: 195.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/3.018, allocations: 319.5 kB / 1.713 GB, free: 194.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02697/3.045, allocations: 8.277 MB / 1.721 GB, free: 186.5 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001144/3.046, allocations: 104 kB / 1.721 GB, free: 186.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08345/3.13, allocations: 73.84 MB / 1.793 GB, free: 111 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/3.13, allocations: 15.92 kB / 1.793 GB, free: 111 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03891/3.169, allocations: 21.55 MB / 1.814 GB, free: 89.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003556/3.172, allocations: 1.358 MB / 1.815 GB, free: 87.72 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/3.174, allocations: 111.1 kB / 1.815 GB, free: 87.61 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004133/3.178, allocations: 287.6 kB / 1.816 GB, free: 87.33 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002015/3.18, allocations: 0.5221 MB / 1.816 GB, free: 86.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004347/3.18, allocations: 152.1 kB / 1.816 GB, free: 86.66 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002356/3.183, allocations: 1.776 MB / 1.818 GB, free: 84.89 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.4e-07/3.183, allocations: 0 / 1.818 GB, free: 84.89 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008702/3.192, allocations: 2.461 MB / 1.82 GB, free: 82.43 MB / 1.279 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.00112/3.193, allocations: 246.5 kB / 1.821 GB, free: 82.18 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02318/3.216, allocations: 14.54 MB / 1.835 GB, free: 67.47 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/3.216, allocations: 0 / 1.835 GB, free: 67.47 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01647/3.232, allocations: 9.36 MB / 1.844 GB, free: 57.96 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007264/3.24, allocations: 1.373 MB / 1.845 GB, free: 56.64 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/3.267, allocations: 16.49 MB / 1.861 GB, free: 40.07 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006503/3.274, allocations: 4.987 MB / 1.866 GB, free: 35.04 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/3.275, allocations: 215.4 kB / 1.867 GB, free: 34.83 MB / 1.279 GB Notification: Performance of SimCode: time 1.072e-06/3.275, allocations: 0 / 1.867 GB, free: 34.83 MB / 1.279 GB Notification: Performance of Templates: time 1.15/4.425, allocations: 475 MB / 2.33 GB, free: 368.1 MB / 1.514 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 -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