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.001792/0.001792, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002514/0.002514, allocations: 210.4 kB / 23 MB, free: 4.934 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.567/1.567, 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.315/3.315, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.002079/0.002079, allocations: 63.41 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3789, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02035/0.3992, allocations: 13.3 MB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.4161, allocations: 9.155 MB / 1.349 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.4178, allocations: 87.25 kB / 1.349 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005117/0.423, allocations: 1.672 MB / 1.351 GB, free: 8.691 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005939/0.4289, allocations: 1.59 MB / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.4314, allocations: 0.756 MB / 1.353 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004076/0.4354, allocations: 2.532 MB / 1.355 GB, free: 3.805 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.4374, allocations: 1.184 MB / 1.357 GB, free: 2.578 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.4396, allocations: 1.215 MB / 1.358 GB, free: 1.359 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.4413, allocations: 1.129 MB / 1.359 GB, free: 232 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.4416, allocations: 160 kB / 1.359 GB, free: 72 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.4432, allocations: 0.7369 MB / 1.36 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006749/0.4439, allocations: 0.6191 MB / 1.36 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009694/0.4449, allocations: 0.7621 MB / 1.361 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.4485, allocations: 2.751 MB / 1.364 GB, free: 11.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4485, allocations: 0 / 1.364 GB, free: 11.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4485, allocations: 4 kB / 1.364 GB, free: 11.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.73e-05/0.4486, allocations: 4 kB / 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.004503/0.4531, allocations: 2.104 MB / 1.366 GB, free: 9.031 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.4531, allocations: 15.97 kB / 1.366 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.4652, allocations: 2.086 MB / 1.368 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.4683, allocations: 1.177 MB / 1.369 GB, free: 5.699 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.4684, allocations: 90.73 kB / 1.369 GB, free: 5.609 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.4687, allocations: 124.1 kB / 1.369 GB, free: 5.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006578/0.4753, allocations: 2.897 MB / 1.372 GB, free: 2.395 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.4753, allocations: 7.938 kB / 1.372 GB, free: 2.387 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.4755, allocations: 51.98 kB / 1.372 GB, free: 2.336 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006701/0.4762, allocations: 182.1 kB / 1.372 GB, free: 2.156 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007941/0.4841, allocations: 2.795 MB / 1.375 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/0.4996, allocations: 8.118 MB / 1.383 GB, free: 7.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/0.5064, allocations: 2.221 MB / 1.385 GB, free: 4.844 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.5096, allocations: 1.21 MB / 1.386 GB, free: 3.633 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.991e-05/0.5097, allocations: 9 kB / 1.386 GB, free: 3.621 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.5097, allocations: 43.56 kB / 1.386 GB, free: 3.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.036e-06/0.5097, allocations: 0 / 1.386 GB, free: 3.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04855/0.5583, allocations: 12.65 MB / 1.399 GB, free: 6.863 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.5583, allocations: 68.72 kB / 1.399 GB, free: 6.785 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.5598, allocations: 0.9795 MB / 1.4 GB, free: 5.793 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.56, allocations: 45.7 kB / 1.4 GB, free: 5.742 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000603/0.5606, allocations: 0.7394 MB / 1.401 GB, free: 4.996 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000524/0.5611, allocations: 463.9 kB / 1.401 GB, free: 4.539 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005722/0.5617, allocations: 267.5 kB / 1.401 GB, free: 4.27 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.5619, allocations: 353.9 kB / 1.402 GB, free: 3.918 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/0.5653, allocations: 1.346 MB / 1.403 GB, free: 2.57 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003665/0.569, allocations: 1.596 MB / 1.404 GB, free: 0.875 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007227/0.5762, allocations: 2.998 MB / 1.407 GB, free: 13.78 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.5762, allocations: 4 kB / 1.407 GB, free: 13.78 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01222/0.5884, allocations: 4.385 MB / 1.412 GB, free: 9.34 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.5885, allocations: 8 kB / 1.412 GB, free: 9.332 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5885, allocations: 11.94 kB / 1.412 GB, free: 9.32 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005783/0.5943, allocations: 1.432 MB / 1.413 GB, free: 7.848 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.5965, allocations: 447.2 kB / 1.414 GB, free: 7.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03004/0.6265, allocations: 24.81 MB / 1.438 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.629, allocations: 303.5 kB / 1.438 GB, free: 12.97 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.6292, allocations: 59.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.0008934/0.6301, allocations: 439.2 kB / 1.439 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.6305, allocations: 159 kB / 1.439 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.6429, allocations: 4.397 MB / 1.443 GB, free: 7.867 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/0.6429, allocations: 7.922 kB / 1.443 GB, free: 7.859 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6429, allocations: 0 / 1.443 GB, free: 7.859 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.6443, allocations: 378.8 kB / 1.443 GB, free: 7.488 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.6446, allocations: 23.98 kB / 1.443 GB, free: 7.465 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/0.6467, allocations: 295.5 kB / 1.444 GB, free: 7.176 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/0.6471, allocations: 160.9 kB / 1.444 GB, free: 7.016 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01416/0.6612, allocations: 4.703 MB / 1.448 GB, free: 2.262 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01097/0.6722, allocations: 4.576 MB / 1.453 GB, free: 13.67 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004907/0.6771, allocations: 1.407 MB / 1.454 GB, free: 12.26 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001658/0.6788, allocations: 0.6467 MB / 1.455 GB, free: 11.61 MB / 1.154 GB Notification: Performance of Backend: time 7.41e-07/0.6788, allocations: 0 / 1.455 GB, free: 11.61 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01435/0.6931, allocations: 4.141 MB / 1.459 GB, free: 7.293 MB / 1.154 GB Notification: Performance of SimCode: time 0.009999/0.7031, allocations: 4.273 MB / 1.463 GB, free: 2.988 MB / 1.154 GB Notification: Performance of Templates: time 0.07625/0.7794, allocations: 49.16 MB / 1.511 GB, free: 2.539 MB / 1.201 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/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: 10.772617670001637]