Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.002054/0.002054, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002765/0.002765, allocations: 212 kB / 22.24 MB, free: 5.262 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.797 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.855/2.855, allocations: 475.9 MB / 0.7699 GB, free: 4.758 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [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.002157/0.002157, allocations: 68.38 kB / 1.117 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3133, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04783/0.3611, allocations: 36.42 MB / 1.319 GB, free: 7.387 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.3818, allocations: 11.12 MB / 1.329 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003384/0.3852, allocations: 206.5 kB / 1.33 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01279/0.3979, allocations: 4.381 MB / 1.334 GB, free: 7.645 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.4047, allocations: 2.328 MB / 1.336 GB, free: 5.305 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005945/0.4107, allocations: 2.182 MB / 1.338 GB, free: 3.125 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01215/0.4228, allocations: 9.277 MB / 1.347 GB, free: 9.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.435, allocations: 6.314 MB / 1.354 GB, free: 3.387 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00687/0.4418, allocations: 4.133 MB / 1.358 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008734/0.4506, allocations: 4.454 MB / 1.362 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0036/0.4542, allocations: 0.8242 MB / 1.363 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004806/0.459, allocations: 1.502 MB / 1.364 GB, free: 8.445 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004654/0.4636, allocations: 3.238 MB / 1.367 GB, free: 5.199 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005561/0.4692, allocations: 2.973 MB / 1.37 GB, free: 2.215 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.484, allocations: 12.41 MB / 1.382 GB, free: 5.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.484, allocations: 0 / 1.382 GB, free: 5.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.963e-06/0.484, allocations: 4 kB / 1.382 GB, free: 5.766 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003485/0.4843, allocations: 4 kB / 1.382 GB, free: 5.762 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01613/0.5004, allocations: 6.391 MB / 1.389 GB, free: 15.31 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5005, allocations: 8.031 kB / 1.389 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/0.506, allocations: 1.094 MB / 1.39 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009072/0.515, allocations: 3.58 MB / 1.393 GB, free: 10.56 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.5154, allocations: 423.7 kB / 1.394 GB, free: 10.15 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/0.517, allocations: 0.5433 MB / 1.394 GB, free: 9.605 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02296/0.5399, allocations: 10.3 MB / 1.404 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/0.5402, allocations: 19.83 kB / 1.404 GB, free: 14.73 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001727/0.5419, allocations: 248 kB / 1.404 GB, free: 14.49 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000779/0.5427, allocations: 426.9 kB / 1.405 GB, free: 14.07 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.5586, allocations: 7.119 MB / 1.412 GB, free: 6.941 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/0.6036, allocations: 25.34 MB / 1.437 GB, free: 12.97 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/0.609, allocations: 2.894 MB / 1.439 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.6124, allocations: 1.942 MB / 1.441 GB, free: 8.129 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.6126, allocations: 22 kB / 1.441 GB, free: 8.105 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.206e-05/0.6127, allocations: 64.5 kB / 1.441 GB, free: 8.035 MB / 1.139 GB Notification: Performance of pre-optimization done (n=209): time 5.591e-06/0.6127, allocations: 0 / 1.441 GB, free: 8.035 MB / 1.139 GB Notification: Performance of matching and sorting (n=212): time 0.02765/0.6403, allocations: 10.24 MB / 1.451 GB, free: 13.78 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.6404, allocations: 73.41 kB / 1.451 GB, free: 13.7 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.6437, allocations: 1.837 MB / 1.453 GB, free: 11.83 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.00036/0.6441, allocations: 65.7 kB / 1.453 GB, free: 11.76 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.6461, allocations: 2.485 MB / 1.456 GB, free: 9.25 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.6472, allocations: 0.7707 MB / 1.457 GB, free: 8.473 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.6484, allocations: 481.5 kB / 1.457 GB, free: 7.996 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6486, allocations: 305.1 kB / 1.457 GB, free: 7.695 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/0.651, allocations: 1.372 MB / 1.459 GB, free: 6.32 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/0.6541, allocations: 2.108 MB / 1.461 GB, free: 3.898 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00586/0.6599, allocations: 3.766 MB / 1.464 GB, free: 15.82 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-05/0.66, allocations: 8 kB / 1.464 GB, free: 15.82 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009345/0.6693, allocations: 5.019 MB / 1.469 GB, free: 10.77 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.6693, allocations: 12 kB / 1.469 GB, free: 10.76 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/0.6694, allocations: 24 kB / 1.469 GB, free: 10.74 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/0.6733, allocations: 1.587 MB / 1.471 GB, free: 9.145 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.6751, allocations: 451.3 kB / 1.471 GB, free: 8.703 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/0.7025, allocations: 17.78 MB / 1.489 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.7051, allocations: 155.8 kB / 1.489 GB, free: 6.367 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005723/0.7057, allocations: 108 kB / 1.489 GB, free: 6.262 MB / 1.186 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004276/0.71, allocations: 1.937 MB / 1.491 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008667/0.7108, allocations: 282.3 kB / 1.491 GB, free: 4.035 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008956/0.7198, allocations: 4.396 MB / 1.495 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.7198, allocations: 23.94 kB / 1.495 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-05/0.7199, allocations: 16 kB / 1.495 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/0.7199, allocations: 15.95 kB / 1.495 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/0.7386, allocations: 8.334 MB / 1.504 GB, free: 7.098 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.7387, allocations: 4 kB / 1.504 GB, free: 7.094 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.7398, allocations: 235.6 kB / 1.504 GB, free: 6.863 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003778/0.7436, allocations: 1.427 MB / 1.505 GB, free: 5.426 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/0.7439, allocations: 43.98 kB / 1.505 GB, free: 5.383 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02645/0.7703, allocations: 17.79 MB / 1.523 GB, free: 3.18 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.7703, allocations: 4 kB / 1.523 GB, free: 3.176 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008611/0.7789, allocations: 4.482 MB / 1.527 GB, free: 14.6 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/0.781, allocations: 0.5567 MB / 1.527 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008846/0.7819, allocations: 36 kB / 1.528 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.7837, allocations: 119.9 kB / 1.528 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/0.7844, allocations: 189.5 kB / 1.528 GB, free: 13.71 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/0.7846, allocations: 60 kB / 1.528 GB, free: 13.65 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002402/0.787, allocations: 1.168 MB / 1.529 GB, free: 12.46 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.787, allocations: 0 / 1.529 GB, free: 12.46 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004035/0.7911, allocations: 1.137 MB / 1.53 GB, free: 11.33 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003964/0.7915, allocations: 167 kB / 1.53 GB, free: 11.16 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008696/0.8002, allocations: 4.54 MB / 1.535 GB, free: 6.57 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.8002, allocations: 4 kB / 1.535 GB, free: 6.566 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.005253/0.8054, allocations: 2.809 MB / 1.537 GB, free: 3.707 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004158/0.8096, allocations: 0.8123 MB / 1.538 GB, free: 2.91 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/0.8301, allocations: 9.557 MB / 1.548 GB, free: 9.258 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006254/0.8364, allocations: 3.162 MB / 1.551 GB, free: 6.055 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002315/0.8387, allocations: 0.5304 MB / 1.551 GB, free: 5.52 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.8392, allocations: 135.4 kB / 1.551 GB, free: 5.387 MB / 1.248 GB Notification: Performance of SimCode: time 1.312e-06/0.8392, allocations: 0 / 1.551 GB, free: 5.387 MB / 1.248 GB Notification: Performance of Templates: time 0.7554/1.595, allocations: 58.63 MB / 1.609 GB, free: 293.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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: 11.394357055425644]