Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001335/0.001335, allocations: 110.2 kB / 19.7 MB, free: 2.25 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.001496/0.001496, allocations: 221.4 kB / 23.01 MB, free: 5.086 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.209/3.209, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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_L,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_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_L") [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.002065/0.002065, allocations: 68.09 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3679, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008939/0.3768, allocations: 6.412 MB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006205/0.383, allocations: 3.348 MB / 1.337 GB, free: 7.652 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.3835, allocations: 39.62 kB / 1.337 GB, free: 7.613 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.3861, allocations: 0.969 MB / 1.338 GB, free: 6.645 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.3873, allocations: 493.5 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.3885, allocations: 0.4987 MB / 1.339 GB, free: 5.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.3898, allocations: 1.104 MB / 1.34 GB, free: 4.551 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008634/0.3907, allocations: 0.5177 MB / 1.34 GB, free: 4.023 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000705/0.3914, allocations: 462.2 kB / 1.341 GB, free: 3.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007684/0.3921, allocations: 0.502 MB / 1.341 GB, free: 3.066 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/0.3922, allocations: 60 kB / 1.341 GB, free: 3.008 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008893/0.3931, allocations: 491 kB / 1.342 GB, free: 2.527 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.3934, allocations: 287.2 kB / 1.342 GB, free: 2.246 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.3938, allocations: 409.9 kB / 1.342 GB, free: 1.844 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.3953, allocations: 1.187 MB / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3953, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.634e-06/0.3953, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.3953, allocations: 0 / 1.343 GB, free: 0.6523 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001726/0.3971, allocations: 1.014 MB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3971, allocations: 8.031 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.3985, allocations: 228.2 kB / 1.345 GB, free: 15.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3996, allocations: 0.5204 MB / 1.345 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.3997, allocations: 45.67 kB / 1.345 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.3998, allocations: 64.36 kB / 1.345 GB, free: 14.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.4013, allocations: 1.03 MB / 1.346 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.4013, allocations: 15.89 kB / 1.346 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/0.4014, allocations: 31.98 kB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.371e-05/0.4015, allocations: 69.27 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.4026, allocations: 0.6918 MB / 1.347 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00564/0.4082, allocations: 5.662 MB / 1.353 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.409, allocations: 406.1 kB / 1.353 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.4098, allocations: 395.8 kB / 1.353 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.4099, allocations: 4 kB / 1.353 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4099, allocations: 38.34 kB / 1.353 GB, free: 5.852 MB / 1.045 GB Notification: Performance of pre-optimization done (n=41): time 2.064e-06/0.4099, allocations: 4 kB / 1.353 GB, free: 5.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.004192/0.4141, allocations: 1.718 MB / 1.355 GB, free: 4.109 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.4142, allocations: 59.19 kB / 1.355 GB, free: 4.039 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.4147, allocations: 462.8 kB / 1.356 GB, free: 3.578 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.4147, allocations: 33.7 kB / 1.356 GB, free: 3.539 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.415, allocations: 396.1 kB / 1.356 GB, free: 3.148 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4151, allocations: 166.6 kB / 1.356 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.4153, allocations: 106.3 kB / 1.356 GB, free: 2.875 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4155, allocations: 370.8 kB / 1.357 GB, free: 2.504 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.4159, allocations: 245.2 kB / 1.357 GB, free: 2.262 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.4164, allocations: 449.5 kB / 1.357 GB, free: 1.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009921/0.4174, allocations: 0.741 MB / 1.358 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4174, allocations: 4 kB / 1.358 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001935/0.4194, allocations: 1.043 MB / 1.359 GB, free: 15.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4194, allocations: 8 kB / 1.359 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4194, allocations: 8.094 kB / 1.359 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.4204, allocations: 327 kB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.4207, allocations: 99.81 kB / 1.359 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.4285, allocations: 7.048 MB / 1.366 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.4288, allocations: 40.02 kB / 1.366 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.4289, allocations: 28 kB / 1.366 GB, free: 7.801 MB / 1.061 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004042/0.4293, allocations: 241.6 kB / 1.367 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4294, allocations: 71.52 kB / 1.367 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.4313, allocations: 0.8771 MB / 1.368 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4313, allocations: 7.984 kB / 1.368 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4313, allocations: 4 kB / 1.368 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4313, allocations: 15.8 kB / 1.368 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.4341, allocations: 1.649 MB / 1.369 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4341, allocations: 0 / 1.369 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.4343, allocations: 39.91 kB / 1.369 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009126/0.4352, allocations: 311.2 kB / 1.37 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.4352, allocations: 8 kB / 1.37 GB, free: 4.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008037/0.4433, allocations: 7.045 MB / 1.376 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.4433, allocations: 12.16 kB / 1.376 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.445, allocations: 0.9721 MB / 1.377 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.4452, allocations: 99.56 kB / 1.377 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.4453, allocations: 11.98 kB / 1.377 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.4456, allocations: 19.98 kB / 1.378 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.4457, allocations: 52.08 kB / 1.378 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4457, allocations: 12 kB / 1.378 GB, free: 11.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003831/0.4461, allocations: 310.9 kB / 1.378 GB, free: 11.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4461, allocations: 3.938 kB / 1.378 GB, free: 11.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007758/0.4468, allocations: 196 kB / 1.378 GB, free: 11.24 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001691/0.447, allocations: 115.2 kB / 1.378 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.4491, allocations: 1.171 MB / 1.379 GB, free: 9.891 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.4491, allocations: 0 / 1.379 GB, free: 9.891 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.4503, allocations: 0.8189 MB / 1.38 GB, free: 9.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/0.4513, allocations: 212.6 kB / 1.38 GB, free: 8.824 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.4535, allocations: 1.319 MB / 1.382 GB, free: 7.453 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.4542, allocations: 0.9881 MB / 1.383 GB, free: 6.434 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.4543, allocations: 43.42 kB / 1.383 GB, free: 6.395 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.4543, allocations: 4 kB / 1.383 GB, free: 6.391 MB / 1.076 GB Notification: Performance of Templates: time 0.02461/0.4789, allocations: 18.72 MB / 1.401 GB, free: 3.703 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.230385339003988]