Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 191.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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_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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 68.12 kB / 1.061 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 160.8 MB / 1.218 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05/1.133, allocations: 39.79 MB / 1.257 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02293/1.156, allocations: 11.41 MB / 1.268 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005615/1.162, allocations: 198.6 kB / 1.269 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01415/1.176, allocations: 4.563 MB / 1.273 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/1.186, allocations: 2.332 MB / 1.275 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008008/1.194, allocations: 2.24 MB / 1.278 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01557/1.21, allocations: 9.296 MB / 1.287 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/1.225, allocations: 5.976 MB / 1.293 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009194/1.235, allocations: 4.102 MB / 1.297 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/1.245, allocations: 4.747 MB / 1.301 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003863/1.249, allocations: 0.8242 MB / 1.302 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006512/1.256, allocations: 1.608 MB / 1.304 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007427/1.263, allocations: 3.238 MB / 1.307 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01059/1.274, allocations: 3.649 MB / 1.31 GB, free: 8.906 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02109/1.295, allocations: 12.35 MB / 1.322 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.295, allocations: 0 / 1.322 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.505e-06/1.295, allocations: 4 kB / 1.322 GB, free: 12.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004965/1.295, allocations: 4 kB / 1.322 GB, free: 12.51 MB / 1.029 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.023/1.318, allocations: 6.463 MB / 1.329 GB, free: 5.969 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.318, allocations: 8.031 kB / 1.329 GB, free: 5.961 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007642/1.326, allocations: 1.102 MB / 1.33 GB, free: 4.855 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/1.338, allocations: 3.632 MB / 1.333 GB, free: 1.172 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005874/1.338, allocations: 419.8 kB / 1.334 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003019/1.341, allocations: 0.5433 MB / 1.334 GB, free: 224 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0278/1.369, allocations: 9.377 MB / 1.343 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003217/1.369, allocations: 27.81 kB / 1.343 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/1.371, allocations: 244 kB / 1.344 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007321/1.372, allocations: 418.9 kB / 1.344 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/1.39, allocations: 7.124 MB / 1.351 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06338/1.453, allocations: 41.07 MB / 1.391 GB, free: 1.887 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005604/1.459, allocations: 2.905 MB / 1.394 GB, free: 14.98 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/1.463, allocations: 1.953 MB / 1.396 GB, free: 13.02 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/1.463, allocations: 22 kB / 1.396 GB, free: 13 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.04e-05/1.463, allocations: 56.56 kB / 1.396 GB, free: 12.94 MB / 1.107 GB Notification: Performance of pre-optimization done (n=209): time 3.948e-06/1.463, allocations: 4 kB / 1.396 GB, free: 12.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=212): time 0.02853/1.491, allocations: 10.58 MB / 1.406 GB, free: 2.262 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/1.491, allocations: 77.34 kB / 1.406 GB, free: 2.172 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/1.496, allocations: 2.009 MB / 1.408 GB, free: 148 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003713/1.496, allocations: 65.7 kB / 1.408 GB, free: 76 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.498, allocations: 2.474 MB / 1.411 GB, free: 13.57 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.499, allocations: 0.7669 MB / 1.411 GB, free: 12.8 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/1.5, allocations: 481.5 kB / 1.412 GB, free: 12.32 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.501, allocations: 309.1 kB / 1.412 GB, free: 12.02 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/1.503, allocations: 1.368 MB / 1.414 GB, free: 10.65 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/1.506, allocations: 2.108 MB / 1.416 GB, free: 8.227 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005718/1.512, allocations: 3.766 MB / 1.419 GB, free: 4.148 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/1.512, allocations: 8 kB / 1.419 GB, free: 4.141 MB / 1.123 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009669/1.521, allocations: 5.026 MB / 1.424 GB, free: 15.09 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/1.521, allocations: 12.94 kB / 1.424 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/1.522, allocations: 24 kB / 1.424 GB, free: 15.05 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003956/1.525, allocations: 1.584 MB / 1.426 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/1.527, allocations: 455.2 kB / 1.426 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02611/1.553, allocations: 18.58 MB / 1.444 GB, free: 9.879 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/1.556, allocations: 148 kB / 1.445 GB, free: 9.734 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005378/1.557, allocations: 112 kB / 1.445 GB, free: 9.625 MB / 1.154 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.004314/1.561, allocations: 1.941 MB / 1.447 GB, free: 7.672 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.562, allocations: 306.2 kB / 1.447 GB, free: 7.371 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/1.571, allocations: 4.4 MB / 1.451 GB, free: 2.941 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/1.571, allocations: 20 kB / 1.451 GB, free: 2.922 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-05/1.571, allocations: 16 kB / 1.451 GB, free: 2.906 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/1.571, allocations: 11.95 kB / 1.451 GB, free: 2.895 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.591, allocations: 9.614 MB / 1.461 GB, free: 9.125 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/1.591, allocations: 7.984 kB / 1.461 GB, free: 9.117 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.592, allocations: 235.6 kB / 1.461 GB, free: 8.887 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003606/1.596, allocations: 1.425 MB / 1.462 GB, free: 7.453 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/1.596, allocations: 44 kB / 1.462 GB, free: 7.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02818/1.624, allocations: 18.59 MB / 1.48 GB, free: 4.266 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/1.624, allocations: 11.94 kB / 1.48 GB, free: 4.254 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009038/1.633, allocations: 4.503 MB / 1.485 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/1.635, allocations: 0.6475 MB / 1.485 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008276/1.636, allocations: 39.94 kB / 1.485 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.638, allocations: 120.1 kB / 1.486 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/1.639, allocations: 193.5 kB / 1.486 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.639, allocations: 60 kB / 1.486 GB, free: 14.59 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002665/1.641, allocations: 1.315 MB / 1.487 GB, free: 13.27 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.641, allocations: 4 kB / 1.487 GB, free: 13.26 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004278/1.646, allocations: 1.137 MB / 1.488 GB, free: 12.12 MB / 1.201 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.0004596/1.646, allocations: 171 kB / 1.488 GB, free: 11.95 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00942/1.656, allocations: 4.543 MB / 1.493 GB, free: 7.352 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.839e-05/1.656, allocations: 4 kB / 1.493 GB, free: 7.348 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00589/1.661, allocations: 2.805 MB / 1.496 GB, free: 4.504 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005885/1.667, allocations: 0.887 MB / 1.496 GB, free: 3.629 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02567/1.693, allocations: 9.556 MB / 1.506 GB, free: 9.98 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008365/1.701, allocations: 3.694 MB / 1.509 GB, free: 6.25 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002794/1.704, allocations: 0.5596 MB / 1.51 GB, free: 5.684 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006577/1.705, allocations: 151.4 kB / 1.51 GB, free: 5.535 MB / 1.217 GB Notification: Performance of SimCode: time 1.273e-06/1.705, allocations: 0 / 1.51 GB, free: 5.535 MB / 1.217 GB Notification: Performance of Templates: time 0.1136/1.818, allocations: 54.15 MB / 1.563 GB, free: 28 kB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.773178815841675]