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.001753/0.001753, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.002496/0.002496, allocations: 215.6 kB / 23 MB, free: 4.957 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.709/2.709, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 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: 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_11_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_11_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.002105/0.002105, allocations: 60.83 kB / 1.118 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3232, allocations: 170 MB / 1.284 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01852/0.3417, allocations: 13.29 MB / 1.297 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.3576, allocations: 9.143 MB / 1.306 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.3592, allocations: 87.25 kB / 1.306 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004934/0.3641, allocations: 1.662 MB / 1.307 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00503/0.3691, allocations: 1.592 MB / 1.309 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.3713, allocations: 0.754 MB / 1.31 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.3753, allocations: 2.524 MB / 1.312 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.3774, allocations: 1.168 MB / 1.313 GB, free: 5.391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.3796, allocations: 1.219 MB / 1.315 GB, free: 4.168 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.3816, allocations: 1.058 MB / 1.316 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.3821, allocations: 160 kB / 1.316 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.3839, allocations: 0.7214 MB / 1.316 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.3847, allocations: 0.6191 MB / 1.317 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.386, allocations: 0.7738 MB / 1.318 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/0.3894, allocations: 2.748 MB / 1.32 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3894, allocations: 0 / 1.32 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3894, allocations: 0 / 1.32 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.3895, allocations: 4 kB / 1.32 GB, free: 14.07 MB / 1.029 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.004017/0.3935, allocations: 2.108 MB / 1.323 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3935, allocations: 16.03 kB / 1.323 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.4051, allocations: 2.09 MB / 1.325 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.4081, allocations: 1.173 MB / 1.326 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.4082, allocations: 86.67 kB / 1.326 GB, free: 8.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.4085, allocations: 132 kB / 1.326 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006521/0.415, allocations: 2.893 MB / 1.329 GB, free: 5.281 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.415, allocations: 7.938 kB / 1.329 GB, free: 5.273 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.4152, allocations: 51.98 kB / 1.329 GB, free: 5.223 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006894/0.4159, allocations: 182.1 kB / 1.329 GB, free: 5.043 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008236/0.4241, allocations: 2.791 MB / 1.332 GB, free: 2.242 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.4399, allocations: 8.13 MB / 1.34 GB, free: 9.941 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0071/0.447, allocations: 2.219 MB / 1.342 GB, free: 7.719 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/0.4503, allocations: 1.21 MB / 1.343 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.578e-05/0.4504, allocations: 9 kB / 1.343 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.4504, allocations: 43.56 kB / 1.343 GB, free: 6.445 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.537e-06/0.4504, allocations: 0 / 1.343 GB, free: 6.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.04796/0.4984, allocations: 12.65 MB / 1.355 GB, free: 9.738 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.4984, allocations: 64.72 kB / 1.355 GB, free: 9.664 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.5, allocations: 0.9795 MB / 1.356 GB, free: 8.672 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.5002, allocations: 49.7 kB / 1.356 GB, free: 8.617 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006629/0.5008, allocations: 0.7277 MB / 1.357 GB, free: 7.883 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005674/0.5014, allocations: 479.9 kB / 1.358 GB, free: 7.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000562/0.502, allocations: 263.5 kB / 1.358 GB, free: 7.145 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.5022, allocations: 361.9 kB / 1.358 GB, free: 6.785 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/0.5058, allocations: 1.331 MB / 1.36 GB, free: 5.453 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003758/0.5095, allocations: 1.608 MB / 1.361 GB, free: 3.746 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007337/0.5169, allocations: 2.994 MB / 1.364 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.5169, allocations: 4 kB / 1.364 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01213/0.529, allocations: 4.385 MB / 1.368 GB, free: 12.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.529, allocations: 11.94 kB / 1.368 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.5291, allocations: 15.92 kB / 1.368 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005419/0.5345, allocations: 1.423 MB / 1.37 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.5367, allocations: 435.3 kB / 1.37 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/0.5673, allocations: 24.81 MB / 1.394 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.57, allocations: 303.6 kB / 1.395 GB, free: 15.87 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.5703, allocations: 63.95 kB / 1.395 GB, free: 15.8 MB / 1.107 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.001034/0.5713, allocations: 445.8 kB / 1.395 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.5718, allocations: 159.2 kB / 1.395 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.5842, allocations: 4.385 MB / 1.4 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.5842, allocations: 15.94 kB / 1.4 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-05/0.5842, allocations: 23.98 kB / 1.4 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.5842, allocations: 7.969 kB / 1.4 GB, free: 10.72 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.6007, allocations: 6.133 MB / 1.406 GB, free: 4.473 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.6007, allocations: 4 kB / 1.406 GB, free: 4.469 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.6025, allocations: 379.4 kB / 1.406 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004912/0.6074, allocations: 1.31 MB / 1.407 GB, free: 2.746 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.6076, allocations: 39.97 kB / 1.407 GB, free: 2.707 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02887/0.6364, allocations: 23.67 MB / 1.43 GB, free: 9.703 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6365, allocations: 224 / 1.43 GB, free: 9.703 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.6483, allocations: 4.151 MB / 1.434 GB, free: 5.457 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.6496, allocations: 370.8 kB / 1.435 GB, free: 5.094 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/0.65, allocations: 27.98 kB / 1.435 GB, free: 5.066 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/0.6523, allocations: 307.4 kB / 1.435 GB, free: 4.766 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/0.6528, allocations: 132.9 kB / 1.435 GB, free: 4.637 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.6529, allocations: 51.91 kB / 1.435 GB, free: 4.586 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00115/0.6541, allocations: 0.651 MB / 1.436 GB, free: 3.93 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6541, allocations: 0 / 1.436 GB, free: 3.93 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002273/0.6563, allocations: 0.5703 MB / 1.436 GB, free: 3.359 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 (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.0003545/0.6567, allocations: 144.2 kB / 1.437 GB, free: 3.211 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0118/0.6685, allocations: 4.966 MB / 1.441 GB, free: 14.07 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.6685, allocations: 7.875 kB / 1.441 GB, free: 14.06 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007492/0.676, allocations: 3.421 MB / 1.445 GB, free: 10.47 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.6785, allocations: 0.5009 MB / 1.445 GB, free: 9.992 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009871/0.6884, allocations: 4.165 MB / 1.449 GB, free: 5.762 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.6899, allocations: 0.8828 MB / 1.45 GB, free: 4.844 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.6905, allocations: 127.3 kB / 1.45 GB, free: 4.719 MB / 1.154 GB Notification: Performance of SimCode: time 1.092e-06/0.6905, allocations: 0 / 1.45 GB, free: 4.719 MB / 1.154 GB Notification: Performance of Templates: time 0.1318/0.8224, allocations: 112.5 MB / 1.56 GB, free: 4.234 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] 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: 19.421457892283797]