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.001465/0.001465, 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.001614/0.001614, allocations: 213.7 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.797 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.385/3.385, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002111/0.002111, allocations: 61.69 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4002, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02089/0.4211, allocations: 13.3 MB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.4376, allocations: 9.139 MB / 1.347 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.4392, allocations: 87.25 kB / 1.348 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004884/0.4441, allocations: 1.68 MB / 1.349 GB, free: 9.613 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005112/0.4492, allocations: 1.591 MB / 1.351 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.4513, allocations: 0.7509 MB / 1.351 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003917/0.4553, allocations: 2.528 MB / 1.354 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.4574, allocations: 1.168 MB / 1.355 GB, free: 3.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.4595, allocations: 1.215 MB / 1.356 GB, free: 2.301 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.4613, allocations: 1.062 MB / 1.357 GB, free: 1.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.4616, allocations: 160 kB / 1.357 GB, free: 1.078 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.4631, allocations: 0.7291 MB / 1.358 GB, free: 356 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006975/0.4638, allocations: 0.6152 MB / 1.359 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009545/0.4648, allocations: 0.7621 MB / 1.359 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.4684, allocations: 2.755 MB / 1.362 GB, free: 12.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4684, allocations: 0 / 1.362 GB, free: 12.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4684, allocations: 4 kB / 1.362 GB, free: 12.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.233e-05/0.4685, allocations: 0 / 1.362 GB, free: 12.2 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.004421/0.4729, allocations: 2.108 MB / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4729, allocations: 12.03 kB / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.4845, allocations: 2.09 MB / 1.366 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.4876, allocations: 1.181 MB / 1.367 GB, free: 6.711 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.439e-05/0.4877, allocations: 86.73 kB / 1.368 GB, free: 6.625 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/0.488, allocations: 124.1 kB / 1.368 GB, free: 6.504 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00641/0.4944, allocations: 2.889 MB / 1.37 GB, free: 3.418 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.037e-05/0.4945, allocations: 7.938 kB / 1.37 GB, free: 3.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.4947, allocations: 51.98 kB / 1.371 GB, free: 3.359 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006847/0.4953, allocations: 186.1 kB / 1.371 GB, free: 3.176 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008075/0.5034, allocations: 2.791 MB / 1.373 GB, free: 384 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.5197, allocations: 8.122 MB / 1.381 GB, free: 8.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007002/0.5267, allocations: 2.215 MB / 1.384 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/0.53, allocations: 1.214 MB / 1.385 GB, free: 4.652 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.53, allocations: 9 kB / 1.385 GB, free: 4.641 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.5301, allocations: 43.56 kB / 1.385 GB, free: 4.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.256e-06/0.5301, allocations: 0 / 1.385 GB, free: 4.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.06022/0.5903, allocations: 12.65 MB / 1.397 GB, free: 7.887 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.5904, allocations: 64.72 kB / 1.397 GB, free: 7.812 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.5924, allocations: 0.9795 MB / 1.398 GB, free: 6.82 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.5927, allocations: 45.7 kB / 1.398 GB, free: 6.77 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008385/0.5935, allocations: 0.7433 MB / 1.399 GB, free: 6.02 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/0.5942, allocations: 475.8 kB / 1.399 GB, free: 5.551 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007069/0.5949, allocations: 263.5 kB / 1.4 GB, free: 5.285 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.5951, allocations: 361.9 kB / 1.4 GB, free: 4.926 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004739/0.5999, allocations: 1.342 MB / 1.401 GB, free: 3.582 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/0.6049, allocations: 1.6 MB / 1.403 GB, free: 1.883 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.615, allocations: 2.991 MB / 1.406 GB, free: 14.8 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.615, allocations: 8 kB / 1.406 GB, free: 14.79 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01685/0.6319, allocations: 4.385 MB / 1.41 GB, free: 10.35 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.6319, allocations: 11.94 kB / 1.41 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.6319, allocations: 8 kB / 1.41 GB, free: 10.33 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00739/0.6393, allocations: 1.431 MB / 1.411 GB, free: 8.859 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/0.6424, allocations: 435.3 kB / 1.412 GB, free: 8.434 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04067/0.683, allocations: 24.81 MB / 1.436 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/0.6867, allocations: 299.5 kB / 1.436 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.687, allocations: 64.14 kB / 1.436 GB, free: 13.93 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.001258/0.6883, allocations: 443.8 kB / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/0.6888, allocations: 155.1 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.7063, allocations: 4.397 MB / 1.441 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.7063, allocations: 19.94 kB / 1.441 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.176e-05/0.7063, allocations: 16 kB / 1.441 GB, free: 8.855 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.7064, allocations: 3.984 kB / 1.441 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02305/0.7294, allocations: 6.129 MB / 1.447 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.7294, allocations: 4 kB / 1.447 GB, free: 2.605 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/0.7322, allocations: 387.3 kB / 1.448 GB, free: 2.227 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006917/0.7391, allocations: 1.307 MB / 1.449 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/0.7393, allocations: 43.97 kB / 1.449 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03809/0.7774, allocations: 23.68 MB / 1.472 GB, free: 7.82 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7774, allocations: 4.062 kB / 1.472 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/0.794, allocations: 4.151 MB / 1.476 GB, free: 3.574 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/0.7958, allocations: 370.8 kB / 1.477 GB, free: 3.211 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/0.7961, allocations: 27.94 kB / 1.477 GB, free: 3.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/0.7992, allocations: 311.6 kB / 1.477 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005895/0.7997, allocations: 128.7 kB / 1.477 GB, free: 2.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/0.7999, allocations: 51.97 kB / 1.477 GB, free: 2.699 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001326/0.8013, allocations: 0.6506 MB / 1.478 GB, free: 2.043 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8013, allocations: 4 kB / 1.478 GB, free: 2.039 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002881/0.8041, allocations: 0.5703 MB / 1.478 GB, free: 1.469 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.000387/0.8045, allocations: 136.6 kB / 1.478 GB, free: 1.328 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01286/0.8174, allocations: 4.966 MB / 1.483 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.8174, allocations: 0 / 1.483 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007675/0.8251, allocations: 3.421 MB / 1.487 GB, free: 8.602 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.8275, allocations: 0.5004 MB / 1.487 GB, free: 8.117 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009446/0.837, allocations: 4.056 MB / 1.491 GB, free: 4 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.8382, allocations: 0.8867 MB / 1.492 GB, free: 3.078 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001487/0.8397, allocations: 408.4 kB / 1.492 GB, free: 2.676 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.8401, allocations: 103.4 kB / 1.492 GB, free: 2.574 MB / 1.186 GB Notification: Performance of SimCode: time 1.343e-06/0.8401, allocations: 0 / 1.492 GB, free: 2.574 MB / 1.186 GB Notification: Performance of Templates: time 0.07037/0.9105, allocations: 42.35 MB / 1.534 GB, free: 8.922 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 -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/jenkins/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: 11.095571735873818]