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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002479/0.002479, allocations: 198.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 71.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8287/0.8307, allocations: 168.7 MB / 1.274 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05666/0.8874, allocations: 39.78 MB / 1.313 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02062/0.908, allocations: 11.39 MB / 1.324 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.9114, allocations: 155.2 kB / 1.324 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.9238, allocations: 4.546 MB / 1.329 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007573/0.9314, allocations: 2.324 MB / 1.331 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006856/0.9382, allocations: 2.248 MB / 1.333 GB, free: 7.812 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.9522, allocations: 9.272 MB / 1.342 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.9646, allocations: 5.979 MB / 1.348 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007924/0.9725, allocations: 4.047 MB / 1.352 GB, free: 4.363 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009748/0.9822, allocations: 4.747 MB / 1.357 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003264/0.9855, allocations: 0.8242 MB / 1.357 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005706/0.9912, allocations: 1.615 MB / 1.359 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.007215/0.9984, allocations: 3.235 MB / 1.362 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.009213/1.008, allocations: 3.653 MB / 1.366 GB, free: 6.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02039/1.028, allocations: 12.35 MB / 1.378 GB, free: 9.859 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.028, allocations: 0 / 1.378 GB, free: 9.859 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.194e-06/1.028, allocations: 0 / 1.378 GB, free: 9.859 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004358/1.028, allocations: 0 / 1.378 GB, free: 9.859 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.0193/1.048, allocations: 6.467 MB / 1.384 GB, free: 3.312 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.048, allocations: 12.03 kB / 1.384 GB, free: 3.301 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006842/1.055, allocations: 1.106 MB / 1.385 GB, free: 2.191 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/1.065, allocations: 3.624 MB / 1.389 GB, free: 14.51 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004998/1.065, allocations: 419.7 kB / 1.389 GB, free: 14.11 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002192/1.068, allocations: 0.5471 MB / 1.39 GB, free: 13.56 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02362/1.091, allocations: 9.385 MB / 1.399 GB, free: 3.84 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002621/1.091, allocations: 19.81 kB / 1.399 GB, free: 3.82 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001901/1.093, allocations: 248 kB / 1.399 GB, free: 3.578 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007457/1.094, allocations: 414.9 kB / 1.399 GB, free: 3.172 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/1.111, allocations: 7.127 MB / 1.406 GB, free: 12.03 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05547/1.167, allocations: 41.08 MB / 1.447 GB, free: 15.22 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005212/1.172, allocations: 2.909 MB / 1.449 GB, free: 12.31 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/1.175, allocations: 1.953 MB / 1.451 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/1.175, allocations: 22 kB / 1.451 GB, free: 10.33 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.108e-05/1.175, allocations: 60.56 kB / 1.451 GB, free: 10.27 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 4.288e-06/1.175, allocations: 0 / 1.451 GB, free: 10.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02638/1.202, allocations: 10.56 MB / 1.462 GB, free: 15.61 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.202, allocations: 81.28 kB / 1.462 GB, free: 15.52 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/1.205, allocations: 2.017 MB / 1.464 GB, free: 13.48 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002103/1.205, allocations: 61.7 kB / 1.464 GB, free: 13.42 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002038/1.207, allocations: 2.478 MB / 1.466 GB, free: 10.91 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008208/1.208, allocations: 0.7591 MB / 1.467 GB, free: 10.15 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000885/1.209, allocations: 485.5 kB / 1.467 GB, free: 9.668 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.209, allocations: 301.1 kB / 1.468 GB, free: 9.371 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/1.212, allocations: 1.376 MB / 1.469 GB, free: 7.992 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/1.215, allocations: 2.1 MB / 1.471 GB, free: 5.578 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005662/1.22, allocations: 3.77 MB / 1.475 GB, free: 1.5 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/1.22, allocations: 8 kB / 1.475 GB, free: 1.492 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009227/1.229, allocations: 5.027 MB / 1.48 GB, free: 12.44 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/1.229, allocations: 16 kB / 1.48 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/1.229, allocations: 20 kB / 1.48 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003864/1.233, allocations: 1.586 MB / 1.481 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.235, allocations: 455.2 kB / 1.482 GB, free: 10.37 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02639/1.262, allocations: 18.58 MB / 1.5 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/1.264, allocations: 147.9 kB / 1.5 GB, free: 7.082 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003779/1.265, allocations: 104 kB / 1.5 GB, free: 6.98 MB / 1.201 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.003639/1.268, allocations: 1.949 MB / 1.502 GB, free: 5.02 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/1.269, allocations: 302.2 kB / 1.502 GB, free: 4.723 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/1.277, allocations: 4.392 MB / 1.507 GB, free: 304 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/1.277, allocations: 23.94 kB / 1.507 GB, free: 280 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.155e-05/1.277, allocations: 20 kB / 1.507 GB, free: 260 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/1.277, allocations: 15.95 kB / 1.507 GB, free: 244 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/1.297, allocations: 9.609 MB / 1.516 GB, free: 6.484 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.297, allocations: 4 kB / 1.516 GB, free: 6.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.298, allocations: 231.6 kB / 1.516 GB, free: 6.254 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00372/1.302, allocations: 1.436 MB / 1.518 GB, free: 4.809 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/1.302, allocations: 40 kB / 1.518 GB, free: 4.77 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02726/1.33, allocations: 18.58 MB / 1.536 GB, free: 1.625 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.33, allocations: 4 kB / 1.536 GB, free: 1.621 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008706/1.338, allocations: 4.507 MB / 1.54 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.34, allocations: 0.6438 MB / 1.541 GB, free: 12.36 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006713/1.341, allocations: 43.98 kB / 1.541 GB, free: 12.31 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.343, allocations: 119.9 kB / 1.541 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/1.343, allocations: 181.6 kB / 1.541 GB, free: 12.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.343, allocations: 60 kB / 1.541 GB, free: 11.96 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002386/1.346, allocations: 1.315 MB / 1.543 GB, free: 10.64 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.346, allocations: 0 / 1.543 GB, free: 10.64 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003622/1.349, allocations: 1.145 MB / 1.544 GB, free: 9.492 MB / 1.248 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.0003803/1.35, allocations: 163.5 kB / 1.544 GB, free: 9.324 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008549/1.358, allocations: 4.544 MB / 1.548 GB, free: 4.734 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.358, allocations: 4 kB / 1.548 GB, free: 4.73 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005331/1.364, allocations: 2.804 MB / 1.551 GB, free: 1.879 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/1.369, allocations: 0.8901 MB / 1.552 GB, free: 1.004 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/1.389, allocations: 9.573 MB / 1.561 GB, free: 7.328 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006124/1.395, allocations: 3.69 MB / 1.565 GB, free: 3.602 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00222/1.397, allocations: 0.5557 MB / 1.565 GB, free: 3.039 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/1.398, allocations: 151.4 kB / 1.565 GB, free: 2.891 MB / 1.264 GB Notification: Performance of SimCode: time 8.52e-07/1.398, allocations: 0 / 1.565 GB, free: 2.891 MB / 1.264 GB Notification: Performance of Templates: time 0.6993/2.097, allocations: 53.22 MB / 1.617 GB, free: 297.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.388204872142524]