Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001725/0.001725, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002152/0.002152, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.488/1.488, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7947/0.7968, allocations: 168.7 MB / 1.274 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01947/0.8163, allocations: 14.58 MB / 1.288 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.8322, allocations: 9.762 MB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.8336, allocations: 55.62 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004758/0.8383, allocations: 1.729 MB / 1.3 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004792/0.8431, allocations: 1.593 MB / 1.301 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.8453, allocations: 0.7646 MB / 1.302 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003928/0.8492, allocations: 2.516 MB / 1.304 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.8516, allocations: 1.001 MB / 1.305 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.8537, allocations: 1.071 MB / 1.306 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.8562, allocations: 1.203 MB / 1.308 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005749/0.8568, allocations: 164 kB / 1.308 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.8589, allocations: 0.8111 MB / 1.308 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009977/0.8599, allocations: 0.6308 MB / 1.309 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.8618, allocations: 0.9407 MB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.8669, allocations: 2.767 MB / 1.313 GB, free: 12.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.8669, allocations: 3.938 kB / 1.313 GB, free: 12.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8669, allocations: 0 / 1.313 GB, free: 12.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001094/0.867, allocations: 4 kB / 1.313 GB, free: 12.75 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005501/0.8725, allocations: 2.18 MB / 1.315 GB, free: 10.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.8725, allocations: 16.03 kB / 1.315 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.8848, allocations: 2.094 MB / 1.317 GB, free: 8.398 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/0.8887, allocations: 1.307 MB / 1.318 GB, free: 7.035 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.8888, allocations: 90.73 kB / 1.318 GB, free: 6.945 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/0.8894, allocations: 120.1 kB / 1.318 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007404/0.8968, allocations: 2.671 MB / 1.321 GB, free: 4.008 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.617e-05/0.8968, allocations: 15.89 kB / 1.321 GB, free: 3.992 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.8971, allocations: 55.98 kB / 1.321 GB, free: 3.938 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007048/0.8978, allocations: 178.1 kB / 1.321 GB, free: 3.762 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008431/0.9062, allocations: 2.791 MB / 1.324 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01788/0.9241, allocations: 10.47 MB / 1.334 GB, free: 5.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007741/0.9318, allocations: 2.447 MB / 1.337 GB, free: 3.402 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/0.9355, allocations: 1.217 MB / 1.338 GB, free: 2.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.9356, allocations: 9 kB / 1.338 GB, free: 2.172 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.9356, allocations: 47.5 kB / 1.338 GB, free: 2.117 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.956e-06/0.9356, allocations: 4 kB / 1.338 GB, free: 2.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=131): time 0.05557/0.9912, allocations: 13.34 MB / 1.351 GB, free: 4.543 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.9912, allocations: 68.66 kB / 1.351 GB, free: 4.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.9938, allocations: 1.121 MB / 1.352 GB, free: 3.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003247/0.9941, allocations: 53.7 kB / 1.352 GB, free: 3.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007868/0.9949, allocations: 0.7248 MB / 1.353 GB, free: 2.539 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008264/0.9957, allocations: 475.9 kB / 1.353 GB, free: 2.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.9968, allocations: 259.5 kB / 1.353 GB, free: 1.809 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.997, allocations: 365.9 kB / 1.354 GB, free: 1.445 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00529/1.002, allocations: 1.343 MB / 1.355 GB, free: 104 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005865/1.008, allocations: 1.6 MB / 1.357 GB, free: 14.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.019, allocations: 2.994 MB / 1.36 GB, free: 11.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/1.019, allocations: 0 / 1.36 GB, free: 11.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01751/1.037, allocations: 4.4 MB / 1.364 GB, free: 6.855 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/1.037, allocations: 12.16 kB / 1.364 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.037, allocations: 11.98 kB / 1.364 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/1.043, allocations: 1.435 MB / 1.365 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/1.045, allocations: 439.2 kB / 1.366 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03272/1.078, allocations: 26.68 MB / 1.392 GB, free: 8.414 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/1.08, allocations: 303.6 kB / 1.392 GB, free: 8.117 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/1.081, allocations: 67.91 kB / 1.392 GB, free: 8.051 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009452/1.082, allocations: 437.5 kB / 1.393 GB, free: 7.613 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/1.082, allocations: 167 kB / 1.393 GB, free: 7.449 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/1.095, allocations: 4.41 MB / 1.397 GB, free: 2.988 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/1.095, allocations: 12 kB / 1.397 GB, free: 2.977 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-05/1.095, allocations: 12 kB / 1.397 GB, free: 2.965 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.095, allocations: 4.094 kB / 1.397 GB, free: 2.961 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/1.113, allocations: 6.721 MB / 1.404 GB, free: 12.07 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.113, allocations: 8.25 kB / 1.404 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/1.115, allocations: 375.4 kB / 1.404 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005163/1.12, allocations: 1.318 MB / 1.405 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/1.12, allocations: 35.97 kB / 1.405 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0308/1.151, allocations: 25.51 MB / 1.43 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.151, allocations: 7.938 kB / 1.43 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.164, allocations: 4.164 MB / 1.434 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.165, allocations: 467.8 kB / 1.435 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/1.165, allocations: 24.11 kB / 1.435 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.168, allocations: 311.4 kB / 1.435 GB, free: 9.902 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004311/1.168, allocations: 132.6 kB / 1.435 GB, free: 9.773 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.168, allocations: 43.97 kB / 1.435 GB, free: 9.73 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001308/1.17, allocations: 0.7526 MB / 1.436 GB, free: 8.977 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/1.17, allocations: 4 kB / 1.436 GB, free: 8.973 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002165/1.172, allocations: 0.5703 MB / 1.437 GB, free: 8.402 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003381/1.172, allocations: 141.5 kB / 1.437 GB, free: 8.254 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.184, allocations: 4.97 MB / 1.442 GB, free: 3.117 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.184, allocations: 8.062 kB / 1.442 GB, free: 3.109 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007854/1.192, allocations: 3.417 MB / 1.445 GB, free: 15.52 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.195, allocations: 0.5501 MB / 1.445 GB, free: 14.99 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/1.205, allocations: 4.063 MB / 1.449 GB, free: 10.87 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/1.207, allocations: 1.473 MB / 1.451 GB, free: 9.363 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001529/1.208, allocations: 429.5 kB / 1.451 GB, free: 8.938 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/1.209, allocations: 115.4 kB / 1.451 GB, free: 8.824 MB / 1.154 GB Notification: Performance of SimCode: time 6.01e-07/1.209, allocations: 0 / 1.451 GB, free: 8.824 MB / 1.154 GB Notification: Performance of Templates: time 0.07209/1.281, allocations: 40.42 MB / 1.491 GB, free: 0.8281 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 10.450439131818712]