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.001463/0.001463, allocations: 107.5 kB / 16.45 MB, free: 6.5 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.001592/0.001592, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.401/3.401, allocations: 0.49 GB / 0.7915 GB, free: 33.44 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.002125/0.002125, allocations: 74.62 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3449, allocations: 176.1 MB / 1.321 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01397/0.3588, allocations: 10.24 MB / 1.331 GB, free: 8.684 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006089/0.3649, allocations: 3.236 MB / 1.334 GB, free: 5.438 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008065/0.3657, allocations: 51.69 kB / 1.334 GB, free: 5.387 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.3675, allocations: 0.6147 MB / 1.335 GB, free: 4.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.3694, allocations: 0.7778 MB / 1.336 GB, free: 3.988 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.3713, allocations: 0.7369 MB / 1.337 GB, free: 3.254 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003888/0.3752, allocations: 2.996 MB / 1.339 GB, free: 256 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.378, allocations: 1.962 MB / 1.341 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.3802, allocations: 1.289 MB / 1.343 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.383, allocations: 1.702 MB / 1.344 GB, free: 11.24 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.3834, allocations: 236 kB / 1.345 GB, free: 11.01 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.3845, allocations: 0.4993 MB / 1.345 GB, free: 10.51 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.3858, allocations: 1.099 MB / 1.346 GB, free: 9.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.3872, allocations: 1.112 MB / 1.347 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004289/0.3915, allocations: 3.695 MB / 1.351 GB, free: 4.586 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3915, allocations: 0 / 1.351 GB, free: 4.586 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3915, allocations: 0 / 1.351 GB, free: 4.586 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.257e-05/0.3916, allocations: 3.938 kB / 1.351 GB, free: 4.582 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.004866/0.3965, allocations: 2.2 MB / 1.353 GB, free: 2.324 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3965, allocations: 11.98 kB / 1.353 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009687/0.4062, allocations: 1.322 MB / 1.354 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.4095, allocations: 1.306 MB / 1.356 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.4096, allocations: 115.3 kB / 1.356 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005122/0.4101, allocations: 148.3 kB / 1.356 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00653/0.4166, allocations: 3.437 MB / 1.359 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.4167, allocations: 3.938 kB / 1.359 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/0.4169, allocations: 75.95 kB / 1.359 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002838/0.4172, allocations: 211.1 kB / 1.359 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005554/0.4227, allocations: 3.124 MB / 1.362 GB, free: 8.434 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.4426, allocations: 13.56 MB / 1.376 GB, free: 9.996 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.4453, allocations: 1.632 MB / 1.377 GB, free: 8.355 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.4474, allocations: 1.327 MB / 1.379 GB, free: 7.027 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.4475, allocations: 13 kB / 1.379 GB, free: 7.016 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.4475, allocations: 39.56 kB / 1.379 GB, free: 6.965 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 2.925e-06/0.4475, allocations: 0 / 1.379 GB, free: 6.965 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1615/0.609, allocations: 36.56 MB / 1.414 GB, free: 2.266 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.6091, allocations: 69.41 kB / 1.414 GB, free: 2.184 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.6108, allocations: 1.054 MB / 1.415 GB, free: 1.105 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000384/0.6112, allocations: 53.7 kB / 1.415 GB, free: 1.047 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006908/0.6119, allocations: 0.8171 MB / 1.416 GB, free: 224 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009301/0.6128, allocations: 0.6508 MB / 1.417 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.6138, allocations: 363.5 kB / 1.417 GB, free: 15.2 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.614, allocations: 305.1 kB / 1.418 GB, free: 14.9 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/0.6171, allocations: 1.932 MB / 1.419 GB, free: 12.96 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.6207, allocations: 2.285 MB / 1.422 GB, free: 10.55 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/0.6277, allocations: 4.394 MB / 1.426 GB, free: 6.031 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.6277, allocations: 4 kB / 1.426 GB, free: 6.027 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0228/0.6505, allocations: 8.871 MB / 1.435 GB, free: 13.13 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.6505, allocations: 16.08 kB / 1.435 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.6506, allocations: 12 kB / 1.435 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01904/0.6696, allocations: 4.968 MB / 1.44 GB, free: 8.121 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.6706, allocations: 191.6 kB / 1.44 GB, free: 7.934 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06505/0.7357, allocations: 38.94 MB / 1.478 GB, free: 428 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.7377, allocations: 99.89 kB / 1.478 GB, free: 328 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/0.7381, allocations: 68 kB / 1.478 GB, free: 260 kB / 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.001522/0.7396, allocations: 0.8084 MB / 1.479 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.74, allocations: 147.1 kB / 1.479 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02177/0.7618, allocations: 8.737 MB / 1.487 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-05/0.7618, allocations: 20 kB / 1.487 GB, free: 6.5 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.731e-05/0.7619, allocations: 32 kB / 1.487 GB, free: 6.469 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/0.7619, allocations: 7.969 kB / 1.487 GB, free: 6.461 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/0.7919, allocations: 13.26 MB / 1.5 GB, free: 9.043 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.7919, allocations: 4 kB / 1.5 GB, free: 9.039 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.7924, allocations: 115.8 kB / 1.5 GB, free: 8.926 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01893/0.8114, allocations: 4.84 MB / 1.505 GB, free: 4.07 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004663/0.8118, allocations: 36 kB / 1.505 GB, free: 4.035 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06261/0.8744, allocations: 36.84 MB / 1.541 GB, free: 14.6 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.8745, allocations: 11.94 kB / 1.541 GB, free: 14.59 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02126/0.8957, allocations: 8.452 MB / 1.549 GB, free: 6.051 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.8972, allocations: 0.6405 MB / 1.55 GB, free: 5.391 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/0.8977, allocations: 32 kB / 1.55 GB, free: 5.359 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.8993, allocations: 91.89 kB / 1.55 GB, free: 5.27 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009441/0.9002, allocations: 165.6 kB / 1.55 GB, free: 5.109 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.9004, allocations: 44 kB / 1.55 GB, free: 5.066 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001249/0.9017, allocations: 0.7382 MB / 1.551 GB, free: 4.316 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9017, allocations: 0 / 1.551 GB, free: 4.316 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003811/0.9055, allocations: 1.004 MB / 1.552 GB, free: 3.312 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.0004049/0.9059, allocations: 151.1 kB / 1.552 GB, free: 3.156 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.9168, allocations: 5.736 MB / 1.558 GB, free: 13.36 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.9168, allocations: 0 / 1.558 GB, free: 13.36 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.009085/0.9259, allocations: 3.787 MB / 1.562 GB, free: 9.527 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.9281, allocations: 242.3 kB / 1.562 GB, free: 9.293 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.9384, allocations: 5.13 MB / 1.567 GB, free: 4.117 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.9407, allocations: 1.859 MB / 1.569 GB, free: 2.219 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009389/0.9416, allocations: 363.4 kB / 1.569 GB, free: 1.859 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.9419, allocations: 59.44 kB / 1.569 GB, free: 1.801 MB / 1.264 GB Notification: Performance of SimCode: time 8.12e-07/0.9419, allocations: 4 kB / 1.569 GB, free: 1.797 MB / 1.264 GB Notification: Performance of Templates: time 0.8024/1.744, allocations: 61.76 MB / 1.629 GB, free: 255.3 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.211596900597215]