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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001604/0.001604, allocations: 106 kB / 16.41 MB, free: 6.516 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.001655/0.001655, allocations: 187 kB / 17.34 MB, free: 5.738 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.485/1.485, 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 10.1.1-maint.10.0.x/package.mo): time 2.449/2.449, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 64.12 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9543/0.9558, allocations: 151.6 MB / 1.167 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04846/1.004, allocations: 41.19 MB / 1.208 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02763/1.032, allocations: 15.09 MB / 1.222 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005847/1.038, allocations: 187.1 kB / 1.222 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01277/1.051, allocations: 4.458 MB / 1.227 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009782/1.061, allocations: 2.935 MB / 1.23 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00904/1.07, allocations: 3.157 MB / 1.233 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01619/1.086, allocations: 11.43 MB / 1.244 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02047/1.106, allocations: 12.48 MB / 1.256 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009896/1.116, allocations: 4.896 MB / 1.261 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/1.128, allocations: 5.39 MB / 1.266 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00415/1.132, allocations: 0.9531 MB / 1.267 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00873/1.141, allocations: 2.036 MB / 1.269 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.008774/1.15, allocations: 3.695 MB / 1.273 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01281/1.163, allocations: 4.295 MB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02208/1.185, allocations: 14.28 MB / 1.291 GB, free: 5.035 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/1.185, allocations: 0 / 1.291 GB, free: 5.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.495e-06/1.185, allocations: 0 / 1.291 GB, free: 5.035 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005554/1.185, allocations: 0 / 1.291 GB, free: 5.035 MB / 1.014 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.02734/1.213, allocations: 7.616 MB / 1.298 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.213, allocations: 8.922 kB / 1.298 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/1.225, allocations: 1.514 MB / 1.3 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/1.238, allocations: 4.443 MB / 1.304 GB, free: 7.285 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005446/1.239, allocations: 456.5 kB / 1.305 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003123/1.242, allocations: 0.5939 MB / 1.305 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/1.27, allocations: 10.69 MB / 1.316 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003937/1.27, allocations: 23.78 kB / 1.316 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002725/1.273, allocations: 259.9 kB / 1.316 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/1.276, allocations: 0.7768 MB / 1.317 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/1.297, allocations: 8.557 MB / 1.325 GB, free: 1.539 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07178/1.369, allocations: 46.54 MB / 1.37 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006929/1.376, allocations: 4.319 MB / 1.375 GB, free: 10.9 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006129/1.382, allocations: 3.716 MB / 1.378 GB, free: 7.18 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/1.382, allocations: 42.72 kB / 1.378 GB, free: 7.137 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.226e-05/1.382, allocations: 73.34 kB / 1.378 GB, free: 7.055 MB / 1.107 GB Notification: Performance of pre-optimization done (n=353): time 7.313e-06/1.382, allocations: 4 kB / 1.378 GB, free: 7.051 MB / 1.107 GB Notification: Performance of matching and sorting (n=578): time 0.5105/1.893, allocations: 122.8 MB / 1.498 GB, free: 11.42 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.893, allocations: 107.9 kB / 1.498 GB, free: 11.3 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006126/1.899, allocations: 2.681 MB / 1.501 GB, free: 8.621 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001507/1.901, allocations: 125.7 kB / 1.501 GB, free: 8.492 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002336/1.903, allocations: 2.683 MB / 1.504 GB, free: 5.777 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003255/1.906, allocations: 1.952 MB / 1.506 GB, free: 3.797 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004065/1.911, allocations: 0.9248 MB / 1.506 GB, free: 2.863 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.911, allocations: 301.1 kB / 1.507 GB, free: 2.566 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006914/1.918, allocations: 4.079 MB / 1.511 GB, free: 14.48 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007944/1.926, allocations: 5.015 MB / 1.516 GB, free: 9.133 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/1.942, allocations: 9.847 MB / 1.525 GB, free: 14.91 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.995e-05/1.942, allocations: 8 kB / 1.525 GB, free: 14.9 MB / 1.264 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04614/1.988, allocations: 16.99 MB / 1.542 GB, free: 13.78 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/1.988, allocations: 16 kB / 1.542 GB, free: 13.77 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.489e-05/1.988, allocations: 23.94 kB / 1.542 GB, free: 13.74 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03353/2.022, allocations: 9.092 MB / 1.551 GB, free: 4.609 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/2.025, allocations: 0.5187 MB / 1.551 GB, free: 4.09 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8855/2.91, allocations: 76.97 MB / 1.626 GB, free: 313 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00508/2.915, allocations: 275.9 kB / 1.627 GB, free: 312.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008729/2.916, allocations: 193.8 kB / 1.627 GB, free: 312.7 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.004033/2.92, allocations: 2.422 MB / 1.629 GB, free: 310.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/2.922, allocations: 476.2 kB / 1.63 GB, free: 310.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03327/2.955, allocations: 16.82 MB / 1.646 GB, free: 293.3 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/2.955, allocations: 52 kB / 1.646 GB, free: 293.2 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000208/2.955, allocations: 72 kB / 1.646 GB, free: 293.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.684e-05/2.955, allocations: 27.89 kB / 1.646 GB, free: 293.1 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04773/3.003, allocations: 25.66 MB / 1.671 GB, free: 267.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.407e-05/3.003, allocations: 8 kB / 1.671 GB, free: 267.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/3.005, allocations: 319.5 kB / 1.672 GB, free: 266.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02677/3.032, allocations: 8.267 MB / 1.68 GB, free: 258.6 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001336/3.033, allocations: 104 kB / 1.68 GB, free: 258.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08485/3.118, allocations: 73.83 MB / 1.752 GB, free: 183.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/3.118, allocations: 11.94 kB / 1.752 GB, free: 183.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0406/3.158, allocations: 21.56 MB / 1.773 GB, free: 161.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004126/3.163, allocations: 1.366 MB / 1.774 GB, free: 159.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/3.164, allocations: 104 kB / 1.774 GB, free: 159.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003875/3.168, allocations: 291.6 kB / 1.775 GB, free: 159.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/3.17, allocations: 0.5258 MB / 1.775 GB, free: 158.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005819/3.17, allocations: 140 kB / 1.775 GB, free: 158.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002469/3.173, allocations: 1.776 MB / 1.777 GB, free: 157 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.91e-07/3.173, allocations: 0 / 1.777 GB, free: 157 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008028/3.181, allocations: 2.465 MB / 1.78 GB, free: 154.6 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.0009076/3.182, allocations: 246.5 kB / 1.78 GB, free: 154.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02259/3.205, allocations: 14.53 MB / 1.794 GB, free: 139.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/3.205, allocations: 1 kB / 1.794 GB, free: 139.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0159/3.22, allocations: 9.362 MB / 1.803 GB, free: 130.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007888/3.228, allocations: 1.374 MB / 1.804 GB, free: 128.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02843/3.257, allocations: 16.5 MB / 1.821 GB, free: 112.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007062/3.264, allocations: 4.995 MB / 1.825 GB, free: 107.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/3.265, allocations: 211.4 kB / 1.826 GB, free: 107 MB / 1.279 GB Notification: Performance of SimCode: time 1.103e-06/3.265, allocations: 0 / 1.826 GB, free: 107 MB / 1.279 GB Notification: Performance of Templates: time 1.021/4.286, allocations: 475 MB / 2.289 GB, free: 345.7 MB / 1.451 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 -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