Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 181.9 kB / 23.22 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8733/0.8733, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.766/1.766, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.315e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02543/0.02545, allocations: 35.67 MB / 1.036 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4129/0.4384, allocations: 10.93 MB / 1.046 GB, free: 51.82 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.4408, allocations: 204.2 kB / 1.047 GB, free: 51.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.4451, allocations: 4.401 MB / 1.051 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.4482, allocations: 2.4 MB / 1.053 GB, free: 51.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.4508, allocations: 2.188 MB / 1.055 GB, free: 51.24 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004702/0.4555, allocations: 9.471 MB / 1.065 GB, free: 49.04 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/0.4604, allocations: 6.351 MB / 1.071 GB, free: 46.17 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/0.4647, allocations: 5.773 MB / 1.076 GB, free: 43.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.4682, allocations: 4.193 MB / 1.081 GB, free: 42.74 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009998/0.4692, allocations: 0.8222 MB / 1.081 GB, free: 42.74 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.4713, allocations: 1.517 MB / 1.083 GB, free: 42.59 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.4732, allocations: 3.37 MB / 1.086 GB, free: 41.16 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.4754, allocations: 2.568 MB / 1.089 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.4856, allocations: 12.55 MB / 1.101 GB, free: 36.47 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4856, allocations: 5 kB / 1.101 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4856, allocations: 0 / 1.101 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002774/0.4859, allocations: 0 / 1.101 GB, free: 36.46 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01006/0.4959, allocations: 6.328 MB / 1.107 GB, free: 33.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.496, allocations: 10.5 kB / 1.107 GB, free: 33.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.499, allocations: 1.116 MB / 1.108 GB, free: 32.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.5035, allocations: 3.567 MB / 1.112 GB, free: 31.13 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.5037, allocations: 426.1 kB / 1.112 GB, free: 30.95 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006762/0.5044, allocations: 0.5406 MB / 1.113 GB, free: 30.78 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.5154, allocations: 10.29 MB / 1.123 GB, free: 25.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.987e-05/0.5155, allocations: 21.92 kB / 1.123 GB, free: 25.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/0.516, allocations: 250.1 kB / 1.123 GB, free: 25.62 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004453/0.5165, allocations: 424.5 kB / 1.123 GB, free: 25.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008001/0.5245, allocations: 7.12 MB / 1.13 GB, free: 23.18 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/0.5439, allocations: 25.31 MB / 1.155 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.5466, allocations: 2.896 MB / 1.158 GB, free: 3.238 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.5483, allocations: 1.941 MB / 1.16 GB, free: 2.238 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.5484, allocations: 25.25 kB / 1.16 GB, free: 2.234 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.5484, allocations: 63.55 kB / 1.16 GB, free: 2.172 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 4.528e-06/0.5484, allocations: 3.984 kB / 1.16 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.01412/0.5625, allocations: 10.25 MB / 1.17 GB, free: 12.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5626, allocations: 78.83 kB / 1.17 GB, free: 12.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.5642, allocations: 1.828 MB / 1.172 GB, free: 11.43 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.5643, allocations: 63.48 kB / 1.172 GB, free: 11.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.5653, allocations: 2.476 MB / 1.174 GB, free: 9.199 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.5657, allocations: 0.7545 MB / 1.175 GB, free: 8.551 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.5662, allocations: 479.2 kB / 1.175 GB, free: 8.281 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.5663, allocations: 308.3 kB / 1.176 GB, free: 7.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.5676, allocations: 1.376 MB / 1.177 GB, free: 7.145 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.5694, allocations: 2.1 MB / 1.179 GB, free: 4.727 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.5727, allocations: 3.77 MB / 1.183 GB, free: 0.6523 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.5727, allocations: 8 kB / 1.183 GB, free: 0.6445 MB / 1.01 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005228/0.5779, allocations: 5.004 MB / 1.188 GB, free: 11.62 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5779, allocations: 16.19 kB / 1.188 GB, free: 11.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.5779, allocations: 28 kB / 1.188 GB, free: 11.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.5801, allocations: 1.58 MB / 1.189 GB, free: 9.988 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.5809, allocations: 451.2 kB / 1.19 GB, free: 9.547 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.5956, allocations: 17.78 MB / 1.207 GB, free: 7.371 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.5969, allocations: 143.8 kB / 1.207 GB, free: 7.23 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.5971, allocations: 108 kB / 1.207 GB, free: 7.125 MB / 1.042 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00299/0.6001, allocations: 1.949 MB / 1.209 GB, free: 5.164 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.6004, allocations: 282.2 kB / 1.209 GB, free: 4.887 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/0.605, allocations: 4.381 MB / 1.214 GB, free: 488 kB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.605, allocations: 20 kB / 1.214 GB, free: 468 kB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.6051, allocations: 23.94 kB / 1.214 GB, free: 444 kB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6051, allocations: 11.95 kB / 1.214 GB, free: 432 kB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009755/0.6148, allocations: 8.351 MB / 1.222 GB, free: 7.992 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.6148, allocations: 4 kB / 1.222 GB, free: 7.988 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.6154, allocations: 235.6 kB / 1.222 GB, free: 7.758 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.6173, allocations: 1.435 MB / 1.224 GB, free: 6.316 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.6175, allocations: 36 kB / 1.224 GB, free: 6.281 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/0.6319, allocations: 17.78 MB / 1.241 GB, free: 4.105 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6319, allocations: 4 kB / 1.241 GB, free: 4.102 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004643/0.6365, allocations: 4.463 MB / 1.245 GB, free: 15.55 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/0.6375, allocations: 0.5566 MB / 1.246 GB, free: 15 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.6377, allocations: 43.98 kB / 1.246 GB, free: 14.95 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/0.6384, allocations: 115.9 kB / 1.246 GB, free: 14.84 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.6387, allocations: 185.5 kB / 1.246 GB, free: 14.66 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/0.6388, allocations: 60.19 kB / 1.246 GB, free: 14.6 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001153/0.64, allocations: 1.172 MB / 1.247 GB, free: 13.41 MB / 1.089 GB Notification: Performance of sort global known variables: time 8e-08/0.64, allocations: 4 kB / 1.247 GB, free: 13.41 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.002675/0.6426, allocations: 1.137 MB / 1.248 GB, free: 12.27 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002468/0.6429, allocations: 155.1 kB / 1.249 GB, free: 12.11 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.004607/0.6475, allocations: 4.543 MB / 1.253 GB, free: 7.555 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6475, allocations: 320 / 1.253 GB, free: 7.555 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002704/0.6502, allocations: 2.804 MB / 1.256 GB, free: 4.703 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.6522, allocations: 0.821 MB / 1.257 GB, free: 3.906 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.6645, allocations: 10.31 MB / 1.267 GB, free: 9.504 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/0.6675, allocations: 3.252 MB / 1.27 GB, free: 6.215 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.6679, allocations: 164.5 kB / 1.27 GB, free: 6.055 MB / 1.104 GB Notification: Performance of SimCode: time 1.022e-06/0.6679, allocations: 3.938 kB / 1.27 GB, free: 6.051 MB / 1.104 GB Notification: Performance of Templates: time 0.1143/0.7823, allocations: 172.9 MB / 1.439 GB, free: 9.328 MB / 1.276 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.376660229638219]