Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001315/0.001315, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001548/0.001548, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.773 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.348/3.348, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.002121/0.002121, allocations: 67.56 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3817, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01455/0.3963, allocations: 9.621 MB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006636/0.4029, allocations: 3.155 MB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.404, allocations: 51.56 kB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.4061, allocations: 0.6063 MB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.4083, allocations: 0.774 MB / 1.339 GB, free: 3.629 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.4102, allocations: 0.7414 MB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00381/0.4141, allocations: 2.988 MB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.4166, allocations: 1.427 MB / 1.344 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.4191, allocations: 1.289 MB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/0.4219, allocations: 1.636 MB / 1.347 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0007223/0.4226, allocations: 235.9 kB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.4241, allocations: 479.4 kB / 1.348 GB, free: 10.78 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.4256, allocations: 1.099 MB / 1.349 GB, free: 9.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.4269, allocations: 0.9143 MB / 1.35 GB, free: 8.762 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004149/0.431, allocations: 3.722 MB / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.431, allocations: 0 / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.994e-06/0.431, allocations: 0 / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.671e-05/0.4311, allocations: 4 kB / 1.354 GB, free: 5.023 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004619/0.4357, allocations: 2.109 MB / 1.356 GB, free: 2.875 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4358, allocations: 8.031 kB / 1.356 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009173/0.4449, allocations: 1.326 MB / 1.357 GB, free: 1.539 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.4486, allocations: 1.265 MB / 1.358 GB, free: 256 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4487, allocations: 115.4 kB / 1.358 GB, free: 140 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004546/0.4492, allocations: 152.4 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005816/0.455, allocations: 3.527 MB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.4551, allocations: 4 kB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.4553, allocations: 59.97 kB / 1.362 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/0.4555, allocations: 211.1 kB / 1.362 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005128/0.4607, allocations: 3.116 MB / 1.365 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.4781, allocations: 9.829 MB / 1.375 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.4807, allocations: 1.609 MB / 1.376 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.4828, allocations: 1.331 MB / 1.378 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.45e-05/0.4829, allocations: 9 kB / 1.378 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.4829, allocations: 43.56 kB / 1.378 GB, free: 11.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.697e-06/0.4829, allocations: 4 kB / 1.378 GB, free: 11.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1545/0.6375, allocations: 36.18 MB / 1.413 GB, free: 7.691 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.6375, allocations: 73.41 kB / 1.413 GB, free: 7.605 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.6391, allocations: 1.044 MB / 1.414 GB, free: 6.555 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003205/0.6395, allocations: 57.7 kB / 1.414 GB, free: 6.492 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/0.6401, allocations: 0.8014 MB / 1.415 GB, free: 5.68 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007244/0.6408, allocations: 0.6585 MB / 1.416 GB, free: 5.016 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007581/0.6415, allocations: 359.5 kB / 1.416 GB, free: 4.656 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6417, allocations: 309.1 kB / 1.416 GB, free: 4.352 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002969/0.6446, allocations: 1.928 MB / 1.418 GB, free: 2.422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/0.648, allocations: 2.296 MB / 1.42 GB, free: 4 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006609/0.6546, allocations: 4.388 MB / 1.425 GB, free: 11.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.6546, allocations: 8 kB / 1.425 GB, free: 11.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02196/0.6766, allocations: 8.861 MB / 1.433 GB, free: 2.598 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.6766, allocations: 12 kB / 1.433 GB, free: 2.586 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.6766, allocations: 11.94 kB / 1.433 GB, free: 2.574 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01804/0.6947, allocations: 4.977 MB / 1.438 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/0.6956, allocations: 195.6 kB / 1.438 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06329/0.7589, allocations: 37.82 MB / 1.475 GB, free: 7.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.7611, allocations: 103.9 kB / 1.475 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.7613, allocations: 68 kB / 1.475 GB, free: 6.984 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001474/0.7628, allocations: 0.8018 MB / 1.476 GB, free: 6.172 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.7631, allocations: 147.1 kB / 1.476 GB, free: 6.027 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02131/0.7844, allocations: 8.73 MB / 1.485 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.7844, allocations: 23.94 kB / 1.485 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.616e-05/0.7845, allocations: 28 kB / 1.485 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/0.7845, allocations: 7.969 kB / 1.485 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02804/0.8126, allocations: 12.4 MB / 1.497 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.8126, allocations: 4 kB / 1.497 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.8131, allocations: 120.3 kB / 1.497 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01728/0.8304, allocations: 4.829 MB / 1.502 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/0.8307, allocations: 36 kB / 1.502 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05901/0.8897, allocations: 35.78 MB / 1.537 GB, free: 7.48 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.8897, allocations: 15.81 kB / 1.537 GB, free: 7.465 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/0.9104, allocations: 8.44 MB / 1.545 GB, free: 14.94 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/0.9123, allocations: 0.5769 MB / 1.546 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/0.9126, allocations: 39.94 kB / 1.546 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.914, allocations: 91.89 kB / 1.546 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008393/0.9148, allocations: 169.5 kB / 1.546 GB, free: 14.06 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.915, allocations: 48 kB / 1.546 GB, free: 14.02 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001034/0.916, allocations: 0.7141 MB / 1.547 GB, free: 13.29 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/0.916, allocations: 0 / 1.547 GB, free: 13.29 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003245/0.9193, allocations: 1.004 MB / 1.548 GB, free: 12.29 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003378/0.9196, allocations: 143.1 kB / 1.548 GB, free: 12.14 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.93, allocations: 5.736 MB / 1.553 GB, free: 6.348 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.93, allocations: 8.188 kB / 1.553 GB, free: 6.34 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.008594/0.9386, allocations: 3.778 MB / 1.557 GB, free: 2.512 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.9402, allocations: 236.2 kB / 1.557 GB, free: 2.285 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009446/0.9497, allocations: 5.196 MB / 1.562 GB, free: 13.02 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/0.9515, allocations: 1.271 MB / 1.564 GB, free: 11.71 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009405/0.9525, allocations: 343.2 kB / 1.564 GB, free: 11.38 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.9526, allocations: 59.44 kB / 1.564 GB, free: 11.32 MB / 1.264 GB Notification: Performance of SimCode: time 1.272e-06/0.9526, allocations: 0 / 1.564 GB, free: 11.32 MB / 1.264 GB Notification: Performance of Templates: time 0.7719/1.725, allocations: 66.01 MB / 1.629 GB, free: 262.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.50480655953288]