Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001869/0.001869, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002301/0.002301, allocations: 209.3 kB / 22.99 MB, free: 4.984 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.13/3.13, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.001988/0.001988, allocations: 73.59 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2833, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.018/0.3013, allocations: 13.29 MB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.316, allocations: 9.159 MB / 1.349 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.3168, allocations: 87.19 kB / 1.349 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.3213, allocations: 1.659 MB / 1.351 GB, free: 8.707 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.3249, allocations: 1.598 MB / 1.352 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3266, allocations: 0.7484 MB / 1.353 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00289/0.3295, allocations: 2.534 MB / 1.355 GB, free: 3.816 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.3311, allocations: 1.188 MB / 1.357 GB, free: 2.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.3326, allocations: 1.211 MB / 1.358 GB, free: 1.371 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.3341, allocations: 1.128 MB / 1.359 GB, free: 244 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.3343, allocations: 160 kB / 1.359 GB, free: 84 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.3356, allocations: 0.7369 MB / 1.36 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006263/0.3362, allocations: 0.6269 MB / 1.36 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008415/0.3371, allocations: 0.762 MB / 1.361 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.3402, allocations: 2.755 MB / 1.364 GB, free: 11.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3402, allocations: 4 kB / 1.364 GB, free: 11.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3402, allocations: 0 / 1.364 GB, free: 11.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.3402, allocations: 0 / 1.364 GB, free: 11.18 MB / 1.061 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.004175/0.3444, allocations: 2.104 MB / 1.366 GB, free: 9.035 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3444, allocations: 8.031 kB / 1.366 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.3561, allocations: 2.094 MB / 1.368 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.3586, allocations: 1.169 MB / 1.369 GB, free: 5.711 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.3587, allocations: 90.73 kB / 1.369 GB, free: 5.621 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/0.359, allocations: 124.1 kB / 1.369 GB, free: 5.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006037/0.365, allocations: 2.905 MB / 1.372 GB, free: 2.398 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.365, allocations: 4 kB / 1.372 GB, free: 2.395 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.3652, allocations: 55.98 kB / 1.372 GB, free: 2.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006103/0.3658, allocations: 174.1 kB / 1.372 GB, free: 2.168 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007724/0.3736, allocations: 2.807 MB / 1.375 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.3879, allocations: 8.11 MB / 1.383 GB, free: 7.078 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006753/0.3946, allocations: 2.221 MB / 1.385 GB, free: 4.852 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.3977, allocations: 1.211 MB / 1.386 GB, free: 3.641 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.3978, allocations: 9 kB / 1.386 GB, free: 3.629 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.3978, allocations: 47.5 kB / 1.386 GB, free: 3.574 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.595e-06/0.3978, allocations: 7.938 kB / 1.386 GB, free: 3.566 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04756/0.4454, allocations: 12.65 MB / 1.399 GB, free: 6.859 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.4454, allocations: 64.72 kB / 1.399 GB, free: 6.785 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.4467, allocations: 0.9795 MB / 1.4 GB, free: 5.793 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.4469, allocations: 49.7 kB / 1.4 GB, free: 5.738 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/0.4475, allocations: 0.7316 MB / 1.401 GB, free: 5 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.4479, allocations: 471.9 kB / 1.401 GB, free: 4.535 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005538/0.4485, allocations: 259.5 kB / 1.401 GB, free: 4.273 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4487, allocations: 365.9 kB / 1.402 GB, free: 3.91 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/0.4524, allocations: 1.343 MB / 1.403 GB, free: 2.566 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/0.4561, allocations: 1.596 MB / 1.404 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/0.4632, allocations: 3.002 MB / 1.407 GB, free: 13.77 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4632, allocations: 0 / 1.407 GB, free: 13.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01194/0.4752, allocations: 4.384 MB / 1.412 GB, free: 9.332 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.4752, allocations: 13.97 kB / 1.412 GB, free: 9.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4752, allocations: 8 kB / 1.412 GB, free: 9.312 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005627/0.4808, allocations: 1.424 MB / 1.413 GB, free: 7.848 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.4829, allocations: 435.2 kB / 1.414 GB, free: 7.422 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02918/0.5121, allocations: 24.82 MB / 1.438 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.5145, allocations: 299.5 kB / 1.438 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.5146, allocations: 63.97 kB / 1.438 GB, free: 12.91 MB / 1.139 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.0008285/0.5155, allocations: 441.4 kB / 1.439 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.5158, allocations: 151.1 kB / 1.439 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.5279, allocations: 4.404 MB / 1.443 GB, free: 7.867 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.5279, allocations: 19.94 kB / 1.443 GB, free: 7.848 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.5279, allocations: 12 kB / 1.443 GB, free: 7.836 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5279, allocations: 7.969 kB / 1.443 GB, free: 7.828 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.5432, allocations: 6.129 MB / 1.449 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.5432, allocations: 0 / 1.449 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.5451, allocations: 379.7 kB / 1.449 GB, free: 1.215 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005066/0.5502, allocations: 1.311 MB / 1.451 GB, free: 15.86 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.5503, allocations: 43.95 kB / 1.451 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02724/0.5775, allocations: 23.68 MB / 1.474 GB, free: 6.809 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.5775, allocations: 7.938 kB / 1.474 GB, free: 6.801 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.5888, allocations: 4.147 MB / 1.478 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.5899, allocations: 374.8 kB / 1.478 GB, free: 2.195 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.5901, allocations: 24 kB / 1.478 GB, free: 2.172 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/0.5922, allocations: 307.4 kB / 1.479 GB, free: 1.871 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004441/0.5926, allocations: 140.6 kB / 1.479 GB, free: 1.73 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.5927, allocations: 47.97 kB / 1.479 GB, free: 1.684 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009334/0.5937, allocations: 0.6467 MB / 1.479 GB, free: 1.031 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5937, allocations: 0 / 1.479 GB, free: 1.031 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001972/0.5957, allocations: 0.5707 MB / 1.48 GB, free: 472 kB / 1.17 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.0002801/0.5959, allocations: 139.1 kB / 1.48 GB, free: 324 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01135/0.6073, allocations: 4.97 MB / 1.485 GB, free: 11.18 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6073, allocations: 0 / 1.485 GB, free: 11.18 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00723/0.6145, allocations: 3.425 MB / 1.488 GB, free: 7.582 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.6166, allocations: 0.5067 MB / 1.489 GB, free: 7.094 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0085/0.6251, allocations: 4.038 MB / 1.493 GB, free: 2.992 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.6262, allocations: 0.8907 MB / 1.494 GB, free: 2.066 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001354/0.6276, allocations: 404.4 kB / 1.494 GB, free: 1.668 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.628, allocations: 111.4 kB / 1.494 GB, free: 1.559 MB / 1.186 GB Notification: Performance of SimCode: time 6.62e-07/0.628, allocations: 0 / 1.494 GB, free: 1.559 MB / 1.186 GB Notification: Performance of Templates: time 0.06649/0.6945, allocations: 42.82 MB / 1.536 GB, free: 7.438 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.837295781006105]