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.001323/0.001323, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001462/0.001462, allocations: 208.8 kB / 23.03 MB, free: 4.863 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.202/3.202, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.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.00295/0.00295, allocations: 67.48 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4346, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01888/0.4535, allocations: 13.3 MB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.4696, allocations: 9.155 MB / 1.349 GB, free: 10.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.4711, allocations: 87.19 kB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004854/0.4759, allocations: 1.661 MB / 1.351 GB, free: 8.676 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.4812, allocations: 1.582 MB / 1.352 GB, free: 7.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.4835, allocations: 0.7664 MB / 1.353 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.4874, allocations: 2.528 MB / 1.356 GB, free: 3.785 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.4893, allocations: 1.172 MB / 1.357 GB, free: 2.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.4913, allocations: 1.211 MB / 1.358 GB, free: 1.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.493, allocations: 1.054 MB / 1.359 GB, free: 304 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002396/0.4932, allocations: 163.9 kB / 1.359 GB, free: 140 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.4951, allocations: 0.7175 MB / 1.36 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007454/0.4958, allocations: 0.627 MB / 1.36 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.4968, allocations: 0.7659 MB / 1.361 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.5006, allocations: 2.759 MB / 1.364 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.5006, allocations: 0 / 1.364 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5006, allocations: 0 / 1.364 GB, free: 11.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.5007, allocations: 0 / 1.364 GB, free: 11.25 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.004381/0.505, allocations: 2.1 MB / 1.366 GB, free: 9.109 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5051, allocations: 8.031 kB / 1.366 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.5164, allocations: 2.098 MB / 1.368 GB, free: 7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.5192, allocations: 1.169 MB / 1.369 GB, free: 5.781 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/0.5193, allocations: 90.73 kB / 1.369 GB, free: 5.691 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.5196, allocations: 128.1 kB / 1.369 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006408/0.526, allocations: 2.897 MB / 1.372 GB, free: 2.473 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.5261, allocations: 15.86 kB / 1.372 GB, free: 2.457 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.5263, allocations: 55.98 kB / 1.372 GB, free: 2.402 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006505/0.5269, allocations: 178.1 kB / 1.372 GB, free: 2.227 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008099/0.535, allocations: 2.791 MB / 1.375 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.5509, allocations: 8.114 MB / 1.383 GB, free: 7.148 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006951/0.5578, allocations: 2.224 MB / 1.385 GB, free: 4.918 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/0.5611, allocations: 1.214 MB / 1.386 GB, free: 3.703 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.869e-05/0.5612, allocations: 13 kB / 1.386 GB, free: 3.688 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.5613, allocations: 47.55 kB / 1.386 GB, free: 3.633 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.948e-06/0.5613, allocations: 0 / 1.386 GB, free: 3.633 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04741/0.6087, allocations: 12.65 MB / 1.399 GB, free: 6.938 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.6087, allocations: 68.72 kB / 1.399 GB, free: 6.859 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.6107, allocations: 0.9717 MB / 1.4 GB, free: 5.875 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/0.6111, allocations: 49.7 kB / 1.4 GB, free: 5.82 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007819/0.6118, allocations: 0.7316 MB / 1.401 GB, free: 5.082 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008424/0.6127, allocations: 479.9 kB / 1.401 GB, free: 4.609 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007472/0.6134, allocations: 263.5 kB / 1.401 GB, free: 4.344 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002639/0.6137, allocations: 361.8 kB / 1.402 GB, free: 3.984 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/0.6173, allocations: 1.339 MB / 1.403 GB, free: 2.645 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003953/0.6213, allocations: 1.608 MB / 1.404 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007517/0.6288, allocations: 2.998 MB / 1.407 GB, free: 13.84 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.6288, allocations: 4 kB / 1.407 GB, free: 13.84 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01264/0.6415, allocations: 4.381 MB / 1.412 GB, free: 9.406 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.6415, allocations: 11.94 kB / 1.412 GB, free: 9.395 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.6415, allocations: 4 kB / 1.412 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005441/0.647, allocations: 1.431 MB / 1.413 GB, free: 7.918 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.6492, allocations: 435.2 kB / 1.414 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03053/0.6797, allocations: 24.82 MB / 1.438 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.6824, allocations: 303.7 kB / 1.438 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.6826, allocations: 67.97 kB / 1.438 GB, free: 12.97 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.0009602/0.6836, allocations: 445.3 kB / 1.439 GB, free: 12.53 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.6839, allocations: 155.1 kB / 1.439 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.6961, allocations: 4.397 MB / 1.443 GB, free: 7.926 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.6961, allocations: 15.94 kB / 1.443 GB, free: 7.91 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/0.6961, allocations: 12 kB / 1.443 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.6962, allocations: 7.969 kB / 1.443 GB, free: 7.891 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/0.7118, allocations: 6.121 MB / 1.449 GB, free: 1.652 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.7118, allocations: 12.34 kB / 1.449 GB, free: 1.641 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.7137, allocations: 379.4 kB / 1.449 GB, free: 1.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004858/0.7185, allocations: 1.306 MB / 1.451 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.7187, allocations: 35.97 kB / 1.451 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02831/0.7471, allocations: 23.68 MB / 1.474 GB, free: 6.875 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7471, allocations: 4 kB / 1.474 GB, free: 6.871 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.7585, allocations: 4.151 MB / 1.478 GB, free: 2.629 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.7596, allocations: 370.8 kB / 1.478 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.7598, allocations: 28.12 kB / 1.478 GB, free: 2.238 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/0.7618, allocations: 319.4 kB / 1.479 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004969/0.7623, allocations: 128.7 kB / 1.479 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.7624, allocations: 47.97 kB / 1.479 GB, free: 1.75 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009921/0.7634, allocations: 0.6467 MB / 1.479 GB, free: 1.098 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7634, allocations: 0 / 1.479 GB, free: 1.098 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002103/0.7655, allocations: 0.5664 MB / 1.48 GB, free: 0.5312 MB / 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.0002951/0.7658, allocations: 139.1 kB / 1.48 GB, free: 396 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01168/0.7775, allocations: 4.978 MB / 1.485 GB, free: 11.24 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.7775, allocations: 4.375 kB / 1.485 GB, free: 11.24 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007287/0.7848, allocations: 3.417 MB / 1.488 GB, free: 7.648 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.7871, allocations: 0.5075 MB / 1.489 GB, free: 7.16 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/0.7961, allocations: 4.165 MB / 1.493 GB, free: 2.93 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.7973, allocations: 0.8867 MB / 1.494 GB, free: 2.008 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.7978, allocations: 131.3 kB / 1.494 GB, free: 1.879 MB / 1.186 GB Notification: Performance of SimCode: time 8.41e-07/0.7978, allocations: 0 / 1.494 GB, free: 1.879 MB / 1.186 GB Notification: Performance of Templates: time 0.1283/0.9261, allocations: 112.5 MB / 1.604 GB, free: 1.418 MB / 1.295 GB " [Timeout remaining time 298] 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 -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: 21.36926410906017]