Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001311/0.001311, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001506/0.001506, allocations: 215.4 kB / 23 MB, free: 4.969 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.391/3.391, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [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.002042/0.002042, allocations: 67.3 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04815/0.3724, allocations: 35.73 MB / 1.362 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02569/0.398, allocations: 13.21 MB / 1.375 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003753/0.4018, allocations: 230.2 kB / 1.375 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.4127, allocations: 3.91 MB / 1.379 GB, free: 11.76 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008711/0.4215, allocations: 2.608 MB / 1.381 GB, free: 9.137 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007621/0.4291, allocations: 2.746 MB / 1.384 GB, free: 6.391 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01388/0.443, allocations: 9.576 MB / 1.394 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00985/0.4528, allocations: 5.57 MB / 1.399 GB, free: 7.09 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008444/0.4612, allocations: 4.144 MB / 1.403 GB, free: 2.934 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009525/0.4708, allocations: 4.665 MB / 1.408 GB, free: 14.25 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00297/0.4737, allocations: 0.7695 MB / 1.408 GB, free: 13.48 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006051/0.4798, allocations: 1.67 MB / 1.41 GB, free: 11.81 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005511/0.4853, allocations: 3.114 MB / 1.413 GB, free: 8.691 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007505/0.4928, allocations: 2.914 MB / 1.416 GB, free: 5.766 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01805/0.5109, allocations: 11.95 MB / 1.427 GB, free: 9.777 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5109, allocations: 4 kB / 1.427 GB, free: 9.773 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5109, allocations: 0 / 1.427 GB, free: 9.773 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003662/0.5112, allocations: 0 / 1.427 GB, free: 9.773 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01936/0.5306, allocations: 6.443 MB / 1.434 GB, free: 3.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.5307, allocations: 8.031 kB / 1.434 GB, free: 3.262 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.5409, allocations: 1.332 MB / 1.435 GB, free: 1.926 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.5515, allocations: 3.729 MB / 1.439 GB, free: 14.11 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/0.5519, allocations: 374.5 kB / 1.439 GB, free: 13.74 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/0.554, allocations: 0.4963 MB / 1.44 GB, free: 13.24 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/0.5747, allocations: 9.647 MB / 1.449 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/0.5749, allocations: 35.7 kB / 1.449 GB, free: 3.023 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009416/0.5759, allocations: 223.9 kB / 1.449 GB, free: 2.805 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002132/0.578, allocations: 0.6304 MB / 1.45 GB, free: 2.172 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.5935, allocations: 6.995 MB / 1.457 GB, free: 11.16 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05194/0.6454, allocations: 26.76 MB / 1.483 GB, free: 15.74 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004673/0.6501, allocations: 2.64 MB / 1.485 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003997/0.6541, allocations: 2.406 MB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.6543, allocations: 26.09 kB / 1.488 GB, free: 10.65 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.608e-05/0.6544, allocations: 64.66 kB / 1.488 GB, free: 10.57 MB / 1.186 GB Notification: Performance of pre-optimization done (n=265): time 5.49e-06/0.6544, allocations: 0 / 1.488 GB, free: 10.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=424): time 0.307/0.9613, allocations: 72.92 MB / 1.559 GB, free: 1.402 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.9614, allocations: 94.73 kB / 1.559 GB, free: 1.297 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/0.9652, allocations: 2.196 MB / 1.561 GB, free: 15.08 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001035/0.9662, allocations: 97.7 kB / 1.561 GB, free: 14.98 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002059/0.9683, allocations: 2.401 MB / 1.564 GB, free: 12.56 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.002309/0.9706, allocations: 1.51 MB / 1.565 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/0.9722, allocations: 0.7256 MB / 1.566 GB, free: 10.3 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9724, allocations: 305.1 kB / 1.566 GB, free: 9.996 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004886/0.9773, allocations: 3.003 MB / 1.569 GB, free: 6.984 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005842/0.9831, allocations: 3.847 MB / 1.573 GB, free: 2.805 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/0.9954, allocations: 7.384 MB / 1.58 GB, free: 11.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-05/0.9955, allocations: 4 kB / 1.58 GB, free: 11.09 MB / 1.279 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03265/1.028, allocations: 12.38 MB / 1.592 GB, free: 14.61 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/1.028, allocations: 16 kB / 1.592 GB, free: 14.59 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/1.028, allocations: 23.94 kB / 1.592 GB, free: 14.57 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02401/1.052, allocations: 6.013 MB / 1.598 GB, free: 8.492 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/1.055, allocations: 495.2 kB / 1.599 GB, free: 8.008 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8293/1.884, allocations: 69.11 MB / 1.666 GB, free: 214.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/1.888, allocations: 220.2 kB / 1.666 GB, free: 214.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005645/1.888, allocations: 156.5 kB / 1.666 GB, free: 214.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003084/1.891, allocations: 1.993 MB / 1.668 GB, free: 213.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008072/1.892, allocations: 390.2 kB / 1.669 GB, free: 213.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02357/1.916, allocations: 12.04 MB / 1.68 GB, free: 208.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.437e-05/1.916, allocations: 21.28 kB / 1.681 GB, free: 208.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/1.916, allocations: 5.25 kB / 1.681 GB, free: 208.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00307/1.919, allocations: 1.016 MB / 1.682 GB, free: 207.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007779/1.92, allocations: 78.56 kB / 1.682 GB, free: 207.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.922, allocations: 180.7 kB / 1.682 GB, free: 207.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009623/1.923, allocations: 0.5389 MB / 1.682 GB, free: 207.6 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02555/1.949, allocations: 12.53 MB / 1.695 GB, free: 199.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01152/1.96, allocations: 10.72 MB / 1.705 GB, free: 189.2 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003438/1.964, allocations: 3.376 MB / 1.708 GB, free: 185.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001676/1.965, allocations: 1.414 MB / 1.71 GB, free: 184.4 MB / 1.295 GB Notification: Performance of Backend: time 4.91e-07/1.965, allocations: 0 / 1.71 GB, free: 184.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02216/1.987, allocations: 9.782 MB / 1.719 GB, free: 174.4 MB / 1.295 GB Notification: Performance of SimCode: time 0.02103/2.008, allocations: 14.25 MB / 1.733 GB, free: 160.2 MB / 1.295 GB Notification: Performance of Templates: time 0.1491/2.158, allocations: 123.6 MB / 1.854 GB, free: 37.96 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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: 13.338849394000135]