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.00181/0.00181, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.002156/0.002156, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.947/2.947, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.002135/0.002135, allocations: 63.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.017, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03796/1.054, allocations: 35.47 MB / 1.357 GB, free: 1.312 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0258/1.08, allocations: 11.67 MB / 1.368 GB, free: 9.348 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005364/1.086, allocations: 211.4 kB / 1.368 GB, free: 9.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01277/1.098, allocations: 4.313 MB / 1.372 GB, free: 6.684 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008569/1.107, allocations: 2.093 MB / 1.374 GB, free: 5.398 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.009363/1.116, allocations: 2.409 MB / 1.377 GB, free: 4.047 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01574/1.132, allocations: 8.457 MB / 1.385 GB, free: 272 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01766/1.15, allocations: 8.418 MB / 1.393 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/1.16, allocations: 3.844 MB / 1.397 GB, free: 11.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/1.171, allocations: 4.423 MB / 1.401 GB, free: 9.285 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.004417/1.175, allocations: 0.7796 MB / 1.402 GB, free: 9.285 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009065/1.184, allocations: 2.068 MB / 1.404 GB, free: 8.781 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.008016/1.192, allocations: 3.136 MB / 1.407 GB, free: 7.438 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01292/1.205, allocations: 3.402 MB / 1.411 GB, free: 5.223 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02508/1.23, allocations: 12.02 MB / 1.422 GB, free: 13.7 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.23, allocations: 3.938 kB / 1.422 GB, free: 13.7 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.184e-06/1.23, allocations: 0 / 1.422 GB, free: 13.7 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004672/1.231, allocations: 0 / 1.422 GB, free: 13.7 MB / 1.107 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.02442/1.255, allocations: 5.935 MB / 1.428 GB, free: 9.695 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.255, allocations: 13.02 kB / 1.428 GB, free: 9.691 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009213/1.264, allocations: 1.094 MB / 1.429 GB, free: 9.145 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/1.274, allocations: 3.47 MB / 1.433 GB, free: 6.914 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005069/1.275, allocations: 414.6 kB / 1.433 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003148/1.278, allocations: 0.5424 MB / 1.433 GB, free: 6.535 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02802/1.306, allocations: 9.077 MB / 1.442 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003585/1.306, allocations: 35.66 kB / 1.442 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002876/1.309, allocations: 240 kB / 1.443 GB, free: 13.61 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005485/1.31, allocations: 346.8 kB / 1.443 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/1.33, allocations: 6.826 MB / 1.45 GB, free: 6.434 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05974/1.389, allocations: 39.85 MB / 1.489 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/1.394, allocations: 2.905 MB / 1.491 GB, free: 7.816 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002872/1.397, allocations: 1.79 MB / 1.493 GB, free: 6.031 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/1.397, allocations: 18 kB / 1.493 GB, free: 6.012 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/1.397, allocations: 60.56 kB / 1.493 GB, free: 5.945 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 4.088e-06/1.397, allocations: 0 / 1.493 GB, free: 5.945 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02777/1.424, allocations: 9.996 MB / 1.503 GB, free: 11.86 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/1.425, allocations: 73.41 kB / 1.503 GB, free: 11.77 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/1.427, allocations: 1.526 MB / 1.504 GB, free: 10.2 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/1.427, allocations: 53.7 kB / 1.505 GB, free: 10.14 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.429, allocations: 2.327 MB / 1.507 GB, free: 7.793 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009219/1.43, allocations: 0.6584 MB / 1.507 GB, free: 7.129 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006995/1.431, allocations: 412 kB / 1.508 GB, free: 6.719 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.431, allocations: 309.1 kB / 1.508 GB, free: 6.414 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/1.433, allocations: 1.179 MB / 1.509 GB, free: 5.23 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/1.435, allocations: 1.881 MB / 1.511 GB, free: 3.031 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/1.44, allocations: 3.367 MB / 1.514 GB, free: 15.35 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/1.44, allocations: 8 kB / 1.514 GB, free: 15.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00864/1.449, allocations: 4.543 MB / 1.519 GB, free: 10.78 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/1.449, allocations: 13.88 kB / 1.519 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/1.449, allocations: 24 kB / 1.519 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004187/1.453, allocations: 1.576 MB / 1.52 GB, free: 9.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.454, allocations: 355.3 kB / 1.521 GB, free: 8.812 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/1.481, allocations: 18.6 MB / 1.539 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/1.483, allocations: 115.9 kB / 1.539 GB, free: 5.543 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/1.483, allocations: 100 kB / 1.539 GB, free: 5.445 MB / 1.217 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.00427/1.488, allocations: 1.887 MB / 1.541 GB, free: 3.547 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/1.488, allocations: 234.5 kB / 1.541 GB, free: 3.316 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00768/1.496, allocations: 4.047 MB / 1.545 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.496, allocations: 20 kB / 1.545 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.857e-05/1.496, allocations: 16 kB / 1.545 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.496, allocations: 7.969 kB / 1.545 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/1.514, allocations: 9.426 MB / 1.554 GB, free: 5.523 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.514, allocations: 4 kB / 1.554 GB, free: 5.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/1.515, allocations: 183.7 kB / 1.555 GB, free: 5.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/1.519, allocations: 1.35 MB / 1.556 GB, free: 3.98 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/1.519, allocations: 36 kB / 1.556 GB, free: 3.945 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02434/1.543, allocations: 17.37 MB / 1.573 GB, free: 2.012 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.543, allocations: 8 kB / 1.573 GB, free: 2.004 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007623/1.551, allocations: 4.028 MB / 1.577 GB, free: 13.89 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.552, allocations: 0.5385 MB / 1.577 GB, free: 13.33 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/1.553, allocations: 36 kB / 1.577 GB, free: 13.29 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.554, allocations: 91.83 kB / 1.577 GB, free: 13.2 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/1.554, allocations: 161.7 kB / 1.578 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.554, allocations: 48 kB / 1.578 GB, free: 13 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001555/1.556, allocations: 1.005 MB / 1.579 GB, free: 11.97 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.556, allocations: 0 / 1.579 GB, free: 11.97 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003833/1.56, allocations: 0.9844 MB / 1.58 GB, free: 10.98 MB / 1.264 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.0003466/1.56, allocations: 152.9 kB / 1.58 GB, free: 10.83 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007702/1.568, allocations: 4.171 MB / 1.584 GB, free: 6.605 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.568, allocations: 4 kB / 1.584 GB, free: 6.602 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004939/1.573, allocations: 2.584 MB / 1.586 GB, free: 3.969 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.577, allocations: 0.7866 MB / 1.587 GB, free: 3.211 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.599, allocations: 9.504 MB / 1.596 GB, free: 9.617 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006533/1.605, allocations: 3.67 MB / 1.6 GB, free: 5.914 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006692/1.606, allocations: 127.4 kB / 1.6 GB, free: 5.789 MB / 1.279 GB Notification: Performance of SimCode: time 2.485e-06/1.606, allocations: 0 / 1.6 GB, free: 5.789 MB / 1.279 GB Notification: Performance of Templates: time 0.242/1.848, allocations: 159.9 MB / 1.756 GB, free: 5.93 MB / 1.436 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.220151039990014]