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.006898/0.006898, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001597/0.001597, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.44/1.44, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.797/2.797, allocations: 461.9 MB / 0.7348 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.12 kB / 0.899 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3096, allocations: 157.4 MB / 1.053 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0436/0.3533, allocations: 40.8 MB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02796/0.3813, allocations: 15.05 MB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004642/0.386, allocations: 175.1 kB / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.3973, allocations: 4.149 MB / 1.112 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008176/0.4055, allocations: 2.636 MB / 1.114 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.008171/0.4137, allocations: 2.904 MB / 1.117 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01655/0.4303, allocations: 16 MB / 1.133 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02299/0.4533, allocations: 13.65 MB / 1.146 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007169/0.4605, allocations: 4.106 MB / 1.15 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008962/0.4695, allocations: 5.479 MB / 1.155 GB, free: 14.86 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002819/0.4724, allocations: 0.6133 MB / 1.156 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006252/0.4786, allocations: 2.04 MB / 1.158 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.007103/0.4858, allocations: 3.363 MB / 1.161 GB, free: 8.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008432/0.4942, allocations: 3.912 MB / 1.165 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.5075, allocations: 12.08 MB / 1.177 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5076, allocations: 0 / 1.177 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5076, allocations: 0 / 1.177 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004514/0.508, allocations: 0 / 1.177 GB, free: 8.793 MB / 0.9356 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.02188/0.5299, allocations: 7.604 MB / 1.184 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.53, allocations: 11.97 kB / 1.184 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.541, allocations: 1.522 MB / 1.186 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009258/0.5503, allocations: 4.201 MB / 1.19 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/0.5508, allocations: 456.5 kB / 1.19 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/0.5533, allocations: 0.6017 MB / 1.191 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02641/0.5797, allocations: 10.68 MB / 1.201 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003817/0.5801, allocations: 27.69 kB / 1.201 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002025/0.5822, allocations: 263.9 kB / 1.201 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/0.5851, allocations: 0.7806 MB / 1.202 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.6041, allocations: 8.557 MB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6046/1.209, allocations: 46.86 MB / 1.256 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/1.214, allocations: 4.302 MB / 1.261 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005266/1.22, allocations: 3.695 MB / 1.264 GB, free: 150 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003582/1.22, allocations: 42.72 kB / 1.264 GB, free: 150 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/1.22, allocations: 77.38 kB / 1.264 GB, free: 150 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 6.983e-06/1.22, allocations: 3.984 kB / 1.264 GB, free: 150 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4807/1.701, allocations: 122.7 MB / 1.384 GB, free: 65.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/1.701, allocations: 107.9 kB / 1.384 GB, free: 64.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/1.705, allocations: 2.685 MB / 1.387 GB, free: 62.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001201/1.706, allocations: 121.7 kB / 1.387 GB, free: 62.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/1.707, allocations: 2.678 MB / 1.39 GB, free: 59.47 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00221/1.709, allocations: 1.949 MB / 1.392 GB, free: 57.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002826/1.712, allocations: 0.9248 MB / 1.392 GB, free: 56.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/1.712, allocations: 301.1 kB / 1.393 GB, free: 56.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005607/1.718, allocations: 4.083 MB / 1.397 GB, free: 52.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006438/1.724, allocations: 5.02 MB / 1.402 GB, free: 46.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/1.738, allocations: 9.844 MB / 1.411 GB, free: 36.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/1.738, allocations: 8 kB / 1.411 GB, free: 36.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0406/1.778, allocations: 17 MB / 1.428 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/1.778, allocations: 27.94 kB / 1.428 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.704e-05/1.778, allocations: 20 kB / 1.428 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03175/1.81, allocations: 9.086 MB / 1.437 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/1.813, allocations: 0.5192 MB / 1.437 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1024/1.915, allocations: 70.51 MB / 1.506 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/1.92, allocations: 283.8 kB / 1.506 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/1.922, allocations: 191.9 kB / 1.507 GB, free: 1.383 MB / 1.061 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.005783/1.928, allocations: 2.419 MB / 1.509 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/1.929, allocations: 474.5 kB / 1.509 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04002/1.969, allocations: 16.82 MB / 1.526 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.283e-05/1.969, allocations: 56 kB / 1.526 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002338/1.97, allocations: 72 kB / 1.526 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/1.97, allocations: 27.89 kB / 1.526 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06158/2.031, allocations: 25.65 MB / 1.551 GB, free: 3.484 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.435e-05/2.031, allocations: 8 kB / 1.551 GB, free: 3.477 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/2.033, allocations: 315.5 kB / 1.551 GB, free: 3.168 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03122/2.065, allocations: 8.278 MB / 1.559 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001493/2.066, allocations: 107.9 kB / 1.559 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1034/2.17, allocations: 67.4 MB / 1.625 GB, free: 5.891 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/2.17, allocations: 11.94 kB / 1.625 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04897/2.219, allocations: 21.57 MB / 1.646 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004127/2.223, allocations: 1.354 MB / 1.648 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002095/2.225, allocations: 119.5 kB / 1.648 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004624/2.23, allocations: 287.6 kB / 1.648 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002801/2.232, allocations: 0.5182 MB / 1.649 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00106/2.234, allocations: 144 kB / 1.649 GB, free: 13.52 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003553/2.237, allocations: 1.78 MB / 1.65 GB, free: 11.75 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.41e-07/2.237, allocations: 0 / 1.65 GB, free: 11.75 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.01097/2.248, allocations: 2.461 MB / 1.653 GB, free: 9.293 MB / 1.217 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.001456/2.25, allocations: 234.9 kB / 1.653 GB, free: 9.055 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.02953/2.279, allocations: 14.5 MB / 1.667 GB, free: 10.36 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/2.279, allocations: 4 kB / 1.667 GB, free: 10.36 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.02027/2.299, allocations: 9.354 MB / 1.676 GB, free: 0.8516 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/2.31, allocations: 1.284 MB / 1.678 GB, free: 15.59 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/2.35, allocations: 19.66 MB / 1.697 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/2.36, allocations: 4.99 MB / 1.702 GB, free: 6.77 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/2.362, allocations: 211.4 kB / 1.702 GB, free: 6.562 MB / 1.264 GB Notification: Performance of SimCode: time 1.302e-06/2.362, allocations: 0 / 1.702 GB, free: 6.562 MB / 1.264 GB Notification: Performance of Templates: time 0.965/3.327, allocations: 474.6 MB / 2.165 GB, free: 6.902 MB / 1.279 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