Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001387/0.001387, allocations: 115.6 kB / 17.17 MB, free: 5.98 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.001421/0.001421, allocations: 218.3 kB / 20.13 MB, free: 3.039 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.81/2.81, allocations: 476.7 MB / 0.7678 GB, free: 9.438 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) [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.001995/0.001995, allocations: 67.88 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8801, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01892/0.899, allocations: 14.26 MB / 1.293 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.9158, allocations: 9.543 MB / 1.302 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.9181, allocations: 77.72 kB / 1.302 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005192/0.9233, allocations: 1.702 MB / 1.304 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.9289, allocations: 1.578 MB / 1.305 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.9315, allocations: 0.7593 MB / 1.306 GB, free: 9.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005853/0.9373, allocations: 2.53 MB / 1.309 GB, free: 7.891 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004145/0.9415, allocations: 1.129 MB / 1.31 GB, free: 7.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.9448, allocations: 1.085 MB / 1.311 GB, free: 6.883 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.9481, allocations: 1.209 MB / 1.312 GB, free: 6.391 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000718/0.9488, allocations: 168.8 kB / 1.312 GB, free: 6.387 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.9514, allocations: 0.8048 MB / 1.313 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.9526, allocations: 0.6238 MB / 1.314 GB, free: 5.863 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.9542, allocations: 0.9489 MB / 1.315 GB, free: 5.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005263/0.9595, allocations: 2.765 MB / 1.317 GB, free: 4.312 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.9595, allocations: 1 kB / 1.317 GB, free: 4.312 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9595, allocations: 0 / 1.317 GB, free: 4.312 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.118e-05/0.9596, allocations: 0 / 1.317 GB, free: 4.312 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.005374/0.9649, allocations: 2.197 MB / 1.319 GB, free: 2.938 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.965, allocations: 9.469 kB / 1.319 GB, free: 2.938 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.853e-05/0.965, allocations: 36.06 kB / 1.319 GB, free: 2.93 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000301/0.9653, allocations: 193.8 kB / 1.32 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.9778, allocations: 2.093 MB / 1.322 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.9812, allocations: 1.304 MB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.9813, allocations: 93.33 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.9816, allocations: 121.6 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006687/0.9883, allocations: 2.675 MB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.9883, allocations: 3.656 kB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.9885, allocations: 58.61 kB / 1.326 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007371/0.9893, allocations: 182.6 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008551/0.9978, allocations: 2.797 MB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01792/1.016, allocations: 10.48 MB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007513/1.023, allocations: 2.459 MB / 1.341 GB, free: 3.523 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003633/1.027, allocations: 1.209 MB / 1.342 GB, free: 2.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/1.027, allocations: 8.969 kB / 1.343 GB, free: 2.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/1.027, allocations: 44.72 kB / 1.343 GB, free: 2.859 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 4.569e-06/1.027, allocations: 0 / 1.343 GB, free: 2.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=131): time 0.05123/1.078, allocations: 13.33 MB / 1.356 GB, free: 11.95 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/1.078, allocations: 69.84 kB / 1.356 GB, free: 11.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/1.08, allocations: 1.117 MB / 1.357 GB, free: 11.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/1.08, allocations: 46.86 kB / 1.357 GB, free: 11.22 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/1.081, allocations: 0.7282 MB / 1.357 GB, free: 10.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/1.081, allocations: 477 kB / 1.358 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005746/1.082, allocations: 258.6 kB / 1.358 GB, free: 9.977 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.082, allocations: 369.8 kB / 1.359 GB, free: 9.609 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/1.086, allocations: 1.339 MB / 1.36 GB, free: 8.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003941/1.09, allocations: 1.604 MB / 1.361 GB, free: 6.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007705/1.097, allocations: 2.998 MB / 1.364 GB, free: 3.473 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.097, allocations: 0 / 1.364 GB, free: 3.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01294/1.11, allocations: 4.404 MB / 1.369 GB, free: 15.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.11, allocations: 8 kB / 1.369 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.11, allocations: 4 kB / 1.369 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005684/1.116, allocations: 1.435 MB / 1.37 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.118, allocations: 435.2 kB / 1.37 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03266/1.151, allocations: 26.69 MB / 1.397 GB, free: 0.582 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/1.154, allocations: 307.5 kB / 1.397 GB, free: 288 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/1.154, allocations: 63.95 kB / 1.397 GB, free: 224 kB / 1.076 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.001074/1.155, allocations: 438.4 kB / 1.397 GB, free: 15.78 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/1.156, allocations: 171 kB / 1.397 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.169, allocations: 4.402 MB / 1.402 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/1.169, allocations: 12 kB / 1.402 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-05/1.169, allocations: 12 kB / 1.402 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/1.169, allocations: 11.97 kB / 1.402 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.186, allocations: 6.728 MB / 1.408 GB, free: 4.227 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.186, allocations: 4 kB / 1.408 GB, free: 4.223 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/1.188, allocations: 375.5 kB / 1.409 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/1.194, allocations: 1.322 MB / 1.41 GB, free: 2.492 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/1.194, allocations: 35.97 kB / 1.41 GB, free: 2.457 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03004/1.224, allocations: 25.5 MB / 1.435 GB, free: 7.129 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/1.224, allocations: 7.984 kB / 1.435 GB, free: 7.121 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.236, allocations: 4.175 MB / 1.439 GB, free: 2.848 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.238, allocations: 459.8 kB / 1.439 GB, free: 2.379 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/1.238, allocations: 27.98 kB / 1.44 GB, free: 2.352 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.24, allocations: 307.5 kB / 1.44 GB, free: 2.051 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/1.241, allocations: 128.7 kB / 1.44 GB, free: 1.926 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.241, allocations: 47.97 kB / 1.44 GB, free: 1.879 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001174/1.242, allocations: 0.7526 MB / 1.441 GB, free: 1.125 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.242, allocations: 0 / 1.441 GB, free: 1.125 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00233/1.245, allocations: 0.5703 MB / 1.441 GB, free: 0.5547 MB / 1.123 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.01253/1.257, allocations: 4.757 MB / 1.446 GB, free: 11.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.27, allocations: 4.959 MB / 1.451 GB, free: 6.566 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.27, allocations: 4 kB / 1.451 GB, free: 6.562 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00776/1.277, allocations: 3.417 MB / 1.454 GB, free: 2.973 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.28, allocations: 0.5496 MB / 1.455 GB, free: 2.438 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04822/1.328, allocations: 19.32 MB / 1.473 GB, free: 14.67 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/1.33, allocations: 1.477 MB / 1.475 GB, free: 13.16 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001656/1.332, allocations: 425.6 kB / 1.475 GB, free: 12.74 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.333, allocations: 0.6359 MB / 1.476 GB, free: 12.1 MB / 1.17 GB Notification: Performance of SimCode: time 1.363e-06/1.333, allocations: 4 kB / 1.476 GB, free: 12.1 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1638/1.496, allocations: 52.04 MB / 1.527 GB, free: 8.727 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.65/21.15, allocations: 8 kB / 1.527 GB, free: 8.719 MB / 1.217 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 27.602709181024693]