Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001937/0.001937, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00233/0.00233, allocations: 216.9 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.393/3.393, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 64.33 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3942, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0454/0.4396, allocations: 33.69 MB / 1.397 GB, free: 11.81 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.4594, allocations: 10.02 MB / 1.407 GB, free: 1.766 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003838/0.4632, allocations: 194.6 kB / 1.407 GB, free: 1.574 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.4745, allocations: 3.824 MB / 1.41 GB, free: 13.74 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008122/0.4826, allocations: 2.146 MB / 1.413 GB, free: 11.59 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006371/0.489, allocations: 1.97 MB / 1.414 GB, free: 9.617 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.5003, allocations: 7.964 MB / 1.422 GB, free: 1.629 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.5108, allocations: 5.229 MB / 1.427 GB, free: 12.28 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006433/0.5172, allocations: 3.498 MB / 1.431 GB, free: 8.77 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006983/0.5242, allocations: 3.695 MB / 1.434 GB, free: 5.062 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002039/0.5263, allocations: 0.6797 MB / 1.435 GB, free: 4.383 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004177/0.5304, allocations: 1.362 MB / 1.436 GB, free: 3.02 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004721/0.5352, allocations: 2.677 MB / 1.439 GB, free: 344 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.007358/0.5425, allocations: 2.522 MB / 1.441 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/0.5622, allocations: 10.46 MB / 1.452 GB, free: 3.312 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.5622, allocations: 0 / 1.452 GB, free: 3.312 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.846e-06/0.5622, allocations: 0 / 1.452 GB, free: 3.312 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004385/0.5627, allocations: 4 kB / 1.452 GB, free: 3.309 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01694/0.5796, allocations: 5.455 MB / 1.457 GB, free: 13.79 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5797, allocations: 8.031 kB / 1.457 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006169/0.5858, allocations: 0.989 MB / 1.458 GB, free: 12.79 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008024/0.5938, allocations: 3.136 MB / 1.461 GB, free: 9.59 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.5942, allocations: 361.9 kB / 1.461 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.5959, allocations: 464.3 kB / 1.462 GB, free: 8.781 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.6143, allocations: 8.679 MB / 1.47 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/0.6145, allocations: 15.88 kB / 1.47 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001233/0.6157, allocations: 215.9 kB / 1.471 GB, free: 15.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006165/0.6163, allocations: 365 kB / 1.471 GB, free: 14.97 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.6293, allocations: 5.926 MB / 1.477 GB, free: 9.027 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/0.6653, allocations: 22.95 MB / 1.499 GB, free: 1.414 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/0.6687, allocations: 1.983 MB / 1.501 GB, free: 15.42 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.6707, allocations: 1.333 MB / 1.502 GB, free: 14.09 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.6708, allocations: 17.31 kB / 1.502 GB, free: 14.07 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.6709, allocations: 51.88 kB / 1.502 GB, free: 14.01 MB / 1.201 GB Notification: Performance of pre-optimization done (n=157): time 3.577e-06/0.6709, allocations: 0 / 1.502 GB, free: 14.01 MB / 1.201 GB Notification: Performance of matching and sorting (n=160): time 0.01518/0.6861, allocations: 6.655 MB / 1.509 GB, free: 7.305 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.6861, allocations: 64.72 kB / 1.509 GB, free: 7.23 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.6892, allocations: 1.709 MB / 1.511 GB, free: 5.484 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.6893, allocations: 61.64 kB / 1.511 GB, free: 5.418 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.6914, allocations: 2.191 MB / 1.513 GB, free: 3.207 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006441/0.692, allocations: 0.5926 MB / 1.513 GB, free: 2.609 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007289/0.6927, allocations: 411.9 kB / 1.514 GB, free: 2.199 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6929, allocations: 305.1 kB / 1.514 GB, free: 1.898 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.6948, allocations: 1.058 MB / 1.515 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/0.6972, allocations: 1.768 MB / 1.517 GB, free: 14.74 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00446/0.7017, allocations: 3.041 MB / 1.52 GB, free: 11.39 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-05/0.7017, allocations: 8 kB / 1.52 GB, free: 11.38 MB / 1.217 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007235/0.709, allocations: 3.883 MB / 1.524 GB, free: 7.453 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.709, allocations: 16.06 kB / 1.524 GB, free: 7.438 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/0.709, allocations: 24 kB / 1.524 GB, free: 7.414 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.7117, allocations: 0.9311 MB / 1.525 GB, free: 6.445 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.7133, allocations: 435.2 kB / 1.525 GB, free: 6.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02366/0.737, allocations: 21.12 MB / 1.546 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.739, allocations: 123.9 kB / 1.546 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.7392, allocations: 96 kB / 1.546 GB, free: 15.46 MB / 1.248 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002972/0.7422, allocations: 1.645 MB / 1.547 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/0.7427, allocations: 250.5 kB / 1.548 GB, free: 13.56 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/0.7485, allocations: 3.229 MB / 1.551 GB, free: 10.28 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.7485, allocations: 12 kB / 1.551 GB, free: 10.27 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.7485, allocations: 12 kB / 1.551 GB, free: 10.26 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.7485, allocations: 7.969 kB / 1.551 GB, free: 10.25 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.7604, allocations: 6.441 MB / 1.557 GB, free: 3.676 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.7604, allocations: 4 kB / 1.557 GB, free: 3.672 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/0.7613, allocations: 219.6 kB / 1.557 GB, free: 3.457 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/0.7637, allocations: 0.8847 MB / 1.558 GB, free: 2.535 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.7638, allocations: 32 kB / 1.558 GB, free: 2.504 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.7862, allocations: 21.09 MB / 1.579 GB, free: 12.18 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/0.7862, allocations: 11.94 kB / 1.579 GB, free: 12.16 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/0.7922, allocations: 3.348 MB / 1.582 GB, free: 8.703 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.7936, allocations: 454.3 kB / 1.583 GB, free: 8.258 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.7938, allocations: 39.98 kB / 1.583 GB, free: 8.219 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.7949, allocations: 91.83 kB / 1.583 GB, free: 8.129 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000378/0.7953, allocations: 148.9 kB / 1.583 GB, free: 7.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.7954, allocations: 44 kB / 1.583 GB, free: 7.938 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001611/0.797, allocations: 1.087 MB / 1.584 GB, free: 6.832 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/0.797, allocations: 0 / 1.584 GB, free: 6.832 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002756/0.7998, allocations: 0.9062 MB / 1.585 GB, free: 5.926 MB / 1.279 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.8001, allocations: 153 kB / 1.585 GB, free: 5.77 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007023/0.8071, allocations: 4.295 MB / 1.589 GB, free: 1.316 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.8071, allocations: 0 / 1.589 GB, free: 1.316 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004578/0.8117, allocations: 2.9 MB / 1.592 GB, free: 14.26 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.815, allocations: 0.7602 MB / 1.593 GB, free: 13.52 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.8294, allocations: 7.811 MB / 1.6 GB, free: 5.609 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/0.8332, allocations: 2.665 MB / 1.603 GB, free: 2.91 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001851/0.835, allocations: 0.5122 MB / 1.603 GB, free: 2.395 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.8354, allocations: 131.4 kB / 1.604 GB, free: 2.266 MB / 1.295 GB Notification: Performance of SimCode: time 7.72e-07/0.8354, allocations: 4 kB / 1.604 GB, free: 2.262 MB / 1.295 GB Notification: Performance of Templates: time 0.8054/1.641, allocations: 47.79 MB / 1.65 GB, free: 206.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 11.607088960707188]