Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001602/0.001602, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002709/0.002709, allocations: 218 kB / 23.01 MB, free: 4.605 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.191/3.191, allocations: 0.49 GB / 0.7958 GB, free: 33.41 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.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_12_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_12_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.002097/0.002097, allocations: 72.08 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3911, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02019/0.4112, allocations: 15.34 MB / 1.342 GB, free: 2.086 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01803/0.4293, allocations: 10.75 MB / 1.353 GB, free: 7.309 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.4311, allocations: 95.19 kB / 1.353 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005049/0.4361, allocations: 1.77 MB / 1.354 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.4422, allocations: 1.853 MB / 1.356 GB, free: 3.586 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.4445, allocations: 0.7691 MB / 1.357 GB, free: 2.816 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004642/0.4492, allocations: 2.764 MB / 1.36 GB, free: 44 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.4513, allocations: 1.2 MB / 1.361 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.4546, allocations: 1.719 MB / 1.363 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.4568, allocations: 1.117 MB / 1.364 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.4571, allocations: 156 kB / 1.364 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.4588, allocations: 0.8072 MB / 1.365 GB, free: 11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006558/0.4595, allocations: 0.6035 MB / 1.365 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.4606, allocations: 0.9521 MB / 1.366 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00356/0.4642, allocations: 2.747 MB / 1.369 GB, free: 6.676 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4642, allocations: 0 / 1.369 GB, free: 6.676 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4642, allocations: 0 / 1.369 GB, free: 6.676 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.529e-05/0.4642, allocations: 0 / 1.369 GB, free: 6.676 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.004003/0.4682, allocations: 2.147 MB / 1.371 GB, free: 4.488 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4682, allocations: 12.03 kB / 1.371 GB, free: 4.477 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.4795, allocations: 2.121 MB / 1.373 GB, free: 2.352 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.4825, allocations: 1.182 MB / 1.374 GB, free: 1.121 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.4826, allocations: 86.67 kB / 1.374 GB, free: 1.035 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.4829, allocations: 128.1 kB / 1.374 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/0.4888, allocations: 2.622 MB / 1.377 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/0.4888, allocations: 15.89 kB / 1.377 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.489, allocations: 55.97 kB / 1.377 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006059/0.4896, allocations: 194.1 kB / 1.377 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007456/0.4971, allocations: 2.795 MB / 1.38 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.5134, allocations: 10.35 MB / 1.39 GB, free: 168 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006482/0.5199, allocations: 2.179 MB / 1.392 GB, free: 13.98 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/0.523, allocations: 1.195 MB / 1.393 GB, free: 12.78 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.5231, allocations: 13 kB / 1.393 GB, free: 12.77 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.5232, allocations: 55.48 kB / 1.393 GB, free: 12.71 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 2.584e-06/0.5232, allocations: 0 / 1.393 GB, free: 12.71 MB / 1.092 GB Notification: Performance of matching and sorting (n=153): time 0.05779/0.581, allocations: 15.99 MB / 1.409 GB, free: 12.66 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.581, allocations: 68.72 kB / 1.409 GB, free: 12.58 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.5828, allocations: 1.18 MB / 1.41 GB, free: 11.39 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.583, allocations: 53.7 kB / 1.41 GB, free: 11.33 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/0.5837, allocations: 0.749 MB / 1.411 GB, free: 10.58 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005837/0.5843, allocations: 0.5461 MB / 1.411 GB, free: 10.03 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005691/0.5849, allocations: 287.5 kB / 1.412 GB, free: 9.738 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.585, allocations: 313 kB / 1.412 GB, free: 9.43 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/0.5886, allocations: 1.503 MB / 1.414 GB, free: 7.926 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/0.5924, allocations: 1.78 MB / 1.415 GB, free: 6.051 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007438/0.5999, allocations: 3.365 MB / 1.419 GB, free: 2.59 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.5999, allocations: 4 kB / 1.419 GB, free: 2.586 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01401/0.6139, allocations: 5.219 MB / 1.424 GB, free: 13.33 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.6139, allocations: 8 kB / 1.424 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.6139, allocations: 8 kB / 1.424 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007003/0.621, allocations: 1.882 MB / 1.425 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.623, allocations: 419.3 kB / 1.426 GB, free: 11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03196/0.6549, allocations: 23.33 MB / 1.449 GB, free: 2.758 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.6577, allocations: 307.5 kB / 1.449 GB, free: 2.457 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.6579, allocations: 67.91 kB / 1.449 GB, free: 2.391 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 (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.001021/0.659, allocations: 469.5 kB / 1.449 GB, free: 1.922 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.6593, allocations: 182.9 kB / 1.45 GB, free: 1.742 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.6733, allocations: 5.242 MB / 1.455 GB, free: 12.45 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.6733, allocations: 16 kB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.641e-05/0.6733, allocations: 20 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.6734, allocations: 7.969 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/0.6913, allocations: 7.32 MB / 1.462 GB, free: 4.965 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6913, allocations: 0 / 1.462 GB, free: 4.965 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.693, allocations: 351.7 kB / 1.462 GB, free: 4.621 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005982/0.699, allocations: 1.714 MB / 1.464 GB, free: 2.887 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/0.6991, allocations: 43.91 kB / 1.464 GB, free: 2.844 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03075/0.7299, allocations: 22.51 MB / 1.486 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.7299, allocations: 3.938 kB / 1.486 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.7423, allocations: 4.841 MB / 1.491 GB, free: 6.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.7436, allocations: 422.6 kB / 1.491 GB, free: 6.086 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.7439, allocations: 31.98 kB / 1.491 GB, free: 6.055 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/0.7459, allocations: 315.5 kB / 1.491 GB, free: 5.746 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/0.7465, allocations: 160.9 kB / 1.492 GB, free: 5.586 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.7466, allocations: 55.97 kB / 1.492 GB, free: 5.531 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001163/0.7478, allocations: 0.7899 MB / 1.492 GB, free: 4.742 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.7478, allocations: 0 / 1.492 GB, free: 4.742 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00212/0.7499, allocations: 0.6562 MB / 1.493 GB, free: 4.086 MB / 1.186 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.0003248/0.7502, allocations: 143.1 kB / 1.493 GB, free: 3.938 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01134/0.7616, allocations: 4.929 MB / 1.498 GB, free: 14.9 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.7616, allocations: 0 / 1.498 GB, free: 14.9 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007327/0.7689, allocations: 3.273 MB / 1.501 GB, free: 11.53 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.7715, allocations: 0.562 MB / 1.502 GB, free: 10.98 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009507/0.781, allocations: 4.485 MB / 1.506 GB, free: 6.438 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.7825, allocations: 1.568 MB / 1.508 GB, free: 4.828 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/0.7831, allocations: 127.3 kB / 1.508 GB, free: 4.703 MB / 1.201 GB Notification: Performance of SimCode: time 1.253e-06/0.7831, allocations: 0 / 1.508 GB, free: 4.703 MB / 1.201 GB Notification: Performance of Templates: time 0.102/0.8851, allocations: 85.91 MB / 1.592 GB, free: 14.86 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.123427034995984]