Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001934/0.001934, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001774/0.001774, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.875/2.875, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") [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.002071/0.002071, allocations: 66.66 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3802, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01837/0.3986, allocations: 13.95 MB / 1.297 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.4157, allocations: 9.968 MB / 1.306 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.4175, allocations: 87.25 kB / 1.306 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005156/0.4227, allocations: 1.697 MB / 1.308 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006434/0.4291, allocations: 1.848 MB / 1.31 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.4314, allocations: 0.7593 MB / 1.311 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004673/0.436, allocations: 2.755 MB / 1.313 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.4386, allocations: 1.192 MB / 1.315 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.4419, allocations: 1.726 MB / 1.316 GB, free: 9.824 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.4443, allocations: 1.039 MB / 1.317 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005902/0.4449, allocations: 156 kB / 1.317 GB, free: 8.629 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.447, allocations: 0.7213 MB / 1.318 GB, free: 7.906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009913/0.4479, allocations: 0.6113 MB / 1.319 GB, free: 7.293 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.4497, allocations: 0.7698 MB / 1.319 GB, free: 6.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.4541, allocations: 2.763 MB / 1.322 GB, free: 3.746 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4541, allocations: 4 kB / 1.322 GB, free: 3.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4541, allocations: 0 / 1.322 GB, free: 3.742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.622e-05/0.4542, allocations: 0 / 1.322 GB, free: 3.742 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.005364/0.4596, allocations: 2.147 MB / 1.324 GB, free: 1.555 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4596, allocations: 8.031 kB / 1.324 GB, free: 1.547 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.4719, allocations: 2.11 MB / 1.326 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.4751, allocations: 1.197 MB / 1.327 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.4752, allocations: 86.69 kB / 1.328 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004349/0.4756, allocations: 116.1 kB / 1.328 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006981/0.4826, allocations: 2.885 MB / 1.33 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.4827, allocations: 15.88 kB / 1.33 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.4829, allocations: 55.98 kB / 1.331 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007175/0.4836, allocations: 190.1 kB / 1.331 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008436/0.492, allocations: 2.791 MB / 1.333 GB, free: 7.848 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.5087, allocations: 8.127 MB / 1.341 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007039/0.5158, allocations: 2.175 MB / 1.343 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/0.5191, allocations: 1.199 MB / 1.345 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-05/0.5192, allocations: 9 kB / 1.345 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.5192, allocations: 47.56 kB / 1.345 GB, free: 12.11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.096e-06/0.5192, allocations: 0 / 1.345 GB, free: 12.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.06437/0.5836, allocations: 15.97 MB / 1.36 GB, free: 12.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.5837, allocations: 72.7 kB / 1.36 GB, free: 12.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.5856, allocations: 1.035 MB / 1.361 GB, free: 10.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.5858, allocations: 53.7 kB / 1.361 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.5866, allocations: 0.7557 MB / 1.362 GB, free: 10.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007204/0.5873, allocations: 0.5383 MB / 1.363 GB, free: 9.602 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/0.5879, allocations: 287.5 kB / 1.363 GB, free: 9.312 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5881, allocations: 309 kB / 1.363 GB, free: 9.008 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003929/0.592, allocations: 1.507 MB / 1.365 GB, free: 7.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004274/0.5963, allocations: 1.788 MB / 1.366 GB, free: 5.617 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008176/0.6045, allocations: 3.365 MB / 1.37 GB, free: 2.156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.6045, allocations: 4 kB / 1.37 GB, free: 2.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01467/0.6192, allocations: 5.195 MB / 1.375 GB, free: 12.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.6192, allocations: 8 kB / 1.375 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6192, allocations: 8 kB / 1.375 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007622/0.6268, allocations: 1.876 MB / 1.377 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.6291, allocations: 419.2 kB / 1.377 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03772/0.6668, allocations: 22.84 MB / 1.399 GB, free: 2.938 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/0.6697, allocations: 311.5 kB / 1.4 GB, free: 2.633 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.67, allocations: 67.95 kB / 1.4 GB, free: 2.566 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001278/0.6713, allocations: 461.5 kB / 1.4 GB, free: 2.105 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000581/0.6719, allocations: 171 kB / 1.4 GB, free: 1.938 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/0.6878, allocations: 5.24 MB / 1.405 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.6878, allocations: 16 kB / 1.406 GB, free: 12.63 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-05/0.6879, allocations: 20 kB / 1.406 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.6879, allocations: 8.062 kB / 1.406 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/0.7075, allocations: 6.821 MB / 1.412 GB, free: 5.688 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7075, allocations: 4.031 kB / 1.412 GB, free: 5.684 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/0.7094, allocations: 351.4 kB / 1.413 GB, free: 5.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006639/0.7161, allocations: 1.7 MB / 1.414 GB, free: 3.617 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/0.7163, allocations: 43.91 kB / 1.414 GB, free: 3.574 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0354/0.7517, allocations: 22.03 MB / 1.436 GB, free: 12.74 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/0.7517, allocations: 8.031 kB / 1.436 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/0.7666, allocations: 4.813 MB / 1.44 GB, free: 7.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.7681, allocations: 410.7 kB / 1.441 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/0.7686, allocations: 28 kB / 1.441 GB, free: 7.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/0.7712, allocations: 319.5 kB / 1.441 GB, free: 7.098 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006776/0.7719, allocations: 160.8 kB / 1.441 GB, free: 6.938 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/0.772, allocations: 55.97 kB / 1.441 GB, free: 6.883 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001204/0.7732, allocations: 0.6879 MB / 1.442 GB, free: 6.191 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7732, allocations: 4 kB / 1.442 GB, free: 6.188 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002536/0.7758, allocations: 0.6562 MB / 1.443 GB, free: 5.531 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004109/0.7762, allocations: 135.1 kB / 1.443 GB, free: 5.391 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01396/0.7902, allocations: 4.928 MB / 1.448 GB, free: 360 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/0.7902, allocations: 0 / 1.448 GB, free: 360 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.008539/0.7987, allocations: 3.273 MB / 1.451 GB, free: 12.98 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.802, allocations: 0.5132 MB / 1.451 GB, free: 12.48 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.8143, allocations: 4.335 MB / 1.456 GB, free: 8.102 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.8163, allocations: 0.9838 MB / 1.457 GB, free: 7.078 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00166/0.8179, allocations: 369.2 kB / 1.457 GB, free: 6.711 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.8184, allocations: 103.4 kB / 1.457 GB, free: 6.609 MB / 1.154 GB Notification: Performance of SimCode: time 1.362e-06/0.8184, allocations: 0 / 1.457 GB, free: 6.609 MB / 1.154 GB Notification: Performance of Templates: time 0.08409/0.9025, allocations: 48.94 MB / 1.505 GB, free: 6.363 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.761077247560024]