Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001594/0.001594, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001899/0.001899, allocations: 218.8 kB / 23.01 MB, free: 4.566 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.49 GB / 0.7958 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [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.002096/0.002096, allocations: 68.36 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4008, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04454/0.4453, allocations: 36.67 MB / 1.363 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.4665, allocations: 11.98 MB / 1.375 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004202/0.4707, allocations: 210.4 kB / 1.375 GB, free: 476 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.4828, allocations: 4.449 MB / 1.379 GB, free: 12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007226/0.49, allocations: 2.088 MB / 1.381 GB, free: 9.906 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007555/0.4976, allocations: 2.464 MB / 1.384 GB, free: 7.441 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01381/0.5114, allocations: 8.465 MB / 1.392 GB, free: 14.95 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.5231, allocations: 6.247 MB / 1.398 GB, free: 8.582 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008441/0.5315, allocations: 3.841 MB / 1.402 GB, free: 4.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/0.5415, allocations: 4.428 MB / 1.406 GB, free: 288 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.004515/0.546, allocations: 0.7852 MB / 1.407 GB, free: 15.49 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008827/0.5549, allocations: 2.059 MB / 1.409 GB, free: 13.43 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.006748/0.5616, allocations: 3.141 MB / 1.412 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.009699/0.5713, allocations: 3.396 MB / 1.415 GB, free: 6.875 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02069/0.592, allocations: 12.01 MB / 1.427 GB, free: 10.82 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.592, allocations: 0 / 1.427 GB, free: 10.82 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.603e-06/0.592, allocations: 3.938 kB / 1.427 GB, free: 10.82 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004256/0.5924, allocations: 3.938 kB / 1.427 GB, free: 10.82 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01944/0.6119, allocations: 5.867 MB / 1.433 GB, free: 4.887 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.6119, allocations: 12.03 kB / 1.433 GB, free: 4.875 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007685/0.6196, allocations: 1.086 MB / 1.434 GB, free: 3.785 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009746/0.6294, allocations: 3.415 MB / 1.437 GB, free: 308 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004877/0.6299, allocations: 411.5 kB / 1.438 GB, free: 15.89 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/0.6324, allocations: 0.5432 MB / 1.438 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/0.6564, allocations: 9.079 MB / 1.447 GB, free: 5.957 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002365/0.6567, allocations: 23.78 kB / 1.447 GB, free: 5.934 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001442/0.6581, allocations: 240 kB / 1.447 GB, free: 5.699 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004343/0.6585, allocations: 350.8 kB / 1.447 GB, free: 5.355 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/0.6744, allocations: 6.834 MB / 1.454 GB, free: 14.51 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05365/0.7281, allocations: 39.5 MB / 1.493 GB, free: 3.281 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.732, allocations: 2.297 MB / 1.495 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/0.7348, allocations: 1.767 MB / 1.497 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.7349, allocations: 22 kB / 1.497 GB, free: 15.21 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/0.7349, allocations: 56.55 kB / 1.497 GB, free: 15.14 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 4.719e-06/0.7349, allocations: 0 / 1.497 GB, free: 15.14 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.0256/0.7605, allocations: 9.691 MB / 1.506 GB, free: 5.438 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.7606, allocations: 73.41 kB / 1.506 GB, free: 5.352 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.7631, allocations: 1.523 MB / 1.508 GB, free: 3.785 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.7634, allocations: 61.7 kB / 1.508 GB, free: 3.719 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002543/0.7659, allocations: 2.327 MB / 1.51 GB, free: 1.367 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.767, allocations: 0.6584 MB / 1.511 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007939/0.7678, allocations: 416 kB / 1.511 GB, free: 296 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.768, allocations: 305.1 kB / 1.511 GB, free: 15.99 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.7701, allocations: 1.179 MB / 1.513 GB, free: 14.8 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/0.7728, allocations: 1.881 MB / 1.514 GB, free: 12.61 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004897/0.7777, allocations: 3.375 MB / 1.518 GB, free: 8.918 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.7777, allocations: 4 kB / 1.518 GB, free: 8.914 MB / 1.217 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008708/0.7864, allocations: 4.539 MB / 1.522 GB, free: 4.352 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.7864, allocations: 12 kB / 1.522 GB, free: 4.34 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.7865, allocations: 24 kB / 1.522 GB, free: 4.316 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/0.7904, allocations: 1.581 MB / 1.524 GB, free: 2.727 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7917, allocations: 351.3 kB / 1.524 GB, free: 2.383 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02539/0.8171, allocations: 18.21 MB / 1.542 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.8191, allocations: 119.9 kB / 1.542 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.8193, allocations: 99.98 kB / 1.542 GB, free: 15.5 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003782/0.8231, allocations: 1.887 MB / 1.544 GB, free: 13.6 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/0.8237, allocations: 230.6 kB / 1.544 GB, free: 13.38 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007444/0.8312, allocations: 4.047 MB / 1.548 GB, free: 9.301 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.8312, allocations: 16 kB / 1.548 GB, free: 9.285 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/0.8312, allocations: 16 kB / 1.548 GB, free: 9.27 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.8312, allocations: 7.969 kB / 1.548 GB, free: 9.262 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.8485, allocations: 9.406 MB / 1.557 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.8485, allocations: 8.5 kB / 1.557 GB, free: 15.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008265/0.8494, allocations: 179.7 kB / 1.558 GB, free: 15.43 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/0.8529, allocations: 1.363 MB / 1.559 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.853, allocations: 32.25 kB / 1.559 GB, free: 14.02 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/0.8764, allocations: 16.96 MB / 1.575 GB, free: 12.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.8764, allocations: 11.94 kB / 1.575 GB, free: 12.59 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.884, allocations: 4.025 MB / 1.579 GB, free: 8.477 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/0.8857, allocations: 474.3 kB / 1.58 GB, free: 8.012 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/0.886, allocations: 43.94 kB / 1.58 GB, free: 7.969 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009538/0.887, allocations: 91.89 kB / 1.58 GB, free: 7.879 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005344/0.8875, allocations: 165.6 kB / 1.58 GB, free: 7.715 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.8876, allocations: 51.98 kB / 1.58 GB, free: 7.664 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001587/0.8892, allocations: 1.001 MB / 1.581 GB, free: 6.641 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.8892, allocations: 0 / 1.581 GB, free: 6.641 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003654/0.8929, allocations: 0.9883 MB / 1.582 GB, free: 5.652 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003187/0.8932, allocations: 143.1 kB / 1.582 GB, free: 5.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007464/0.9006, allocations: 4.174 MB / 1.586 GB, free: 1.27 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.9006, allocations: 1 kB / 1.586 GB, free: 1.27 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004709/0.9054, allocations: 2.583 MB / 1.589 GB, free: 14.64 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/0.909, allocations: 0.7852 MB / 1.59 GB, free: 13.88 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.9284, allocations: 9.636 MB / 1.599 GB, free: 4.152 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005148/0.9335, allocations: 3.666 MB / 1.603 GB, free: 464 kB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/0.9341, allocations: 131.4 kB / 1.603 GB, free: 332 kB / 1.295 GB Notification: Performance of SimCode: time 1.603e-06/0.9341, allocations: 0 / 1.603 GB, free: 332 kB / 1.295 GB Notification: Performance of Templates: time 1.015/1.949, allocations: 159.9 MB / 1.759 GB, free: 126.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 23.54584460600745]