Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001455/0.001455, 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.001667/0.001667, allocations: 209.3 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.385/3.385, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLineMedium,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [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.002093/0.002093, allocations: 66.53 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3774, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01956/0.397, allocations: 13.94 MB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.4141, allocations: 9.968 MB / 1.387 GB, free: 5.586 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.4156, allocations: 91.25 kB / 1.387 GB, free: 5.496 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004806/0.4204, allocations: 1.687 MB / 1.389 GB, free: 3.809 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.427, allocations: 1.857 MB / 1.391 GB, free: 1.949 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.4292, allocations: 0.7562 MB / 1.391 GB, free: 1.191 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004228/0.4334, allocations: 2.765 MB / 1.394 GB, free: 14.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.4352, allocations: 1.192 MB / 1.395 GB, free: 13.19 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.4379, allocations: 1.722 MB / 1.397 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.4396, allocations: 1.042 MB / 1.398 GB, free: 10.41 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002754/0.4399, allocations: 156 kB / 1.398 GB, free: 10.26 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.4414, allocations: 0.7174 MB / 1.399 GB, free: 9.543 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006696/0.4421, allocations: 0.6113 MB / 1.399 GB, free: 8.93 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009727/0.4431, allocations: 0.7737 MB / 1.4 GB, free: 8.152 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00356/0.4466, allocations: 2.763 MB / 1.403 GB, free: 5.379 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4467, allocations: 0 / 1.403 GB, free: 5.379 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4467, allocations: 0 / 1.403 GB, free: 5.379 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.633e-05/0.4467, allocations: 0 / 1.403 GB, free: 5.379 MB / 1.092 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.004242/0.4509, allocations: 2.139 MB / 1.405 GB, free: 3.199 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.451, allocations: 12.03 kB / 1.405 GB, free: 3.188 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.4629, allocations: 2.113 MB / 1.407 GB, free: 1.07 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.4661, allocations: 1.189 MB / 1.408 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.4662, allocations: 98.61 kB / 1.408 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.4665, allocations: 116.1 kB / 1.408 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006787/0.4733, allocations: 2.889 MB / 1.411 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.4733, allocations: 7.938 kB / 1.411 GB, free: 12.53 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.4735, allocations: 47.98 kB / 1.411 GB, free: 12.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007376/0.4742, allocations: 198.1 kB / 1.412 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008446/0.4827, allocations: 2.787 MB / 1.414 GB, free: 9.488 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/0.4989, allocations: 8.119 MB / 1.422 GB, free: 1.207 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/0.5058, allocations: 2.187 MB / 1.424 GB, free: 15.01 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/0.5091, allocations: 1.202 MB / 1.426 GB, free: 13.81 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.5092, allocations: 9 kB / 1.426 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.5092, allocations: 43.56 kB / 1.426 GB, free: 13.75 MB / 1.123 GB Notification: Performance of pre-optimization done (n=89): time 3.206e-06/0.5092, allocations: 0 / 1.426 GB, free: 13.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=153): time 0.06343/0.5727, allocations: 15.97 MB / 1.441 GB, free: 13.73 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.5727, allocations: 68.72 kB / 1.441 GB, free: 13.65 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.5744, allocations: 1.038 MB / 1.442 GB, free: 12.61 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.5746, allocations: 45.7 kB / 1.442 GB, free: 12.55 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006468/0.5752, allocations: 0.7635 MB / 1.443 GB, free: 11.79 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006452/0.5759, allocations: 0.5383 MB / 1.444 GB, free: 11.24 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006174/0.5765, allocations: 291.5 kB / 1.444 GB, free: 10.95 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5766, allocations: 305.1 kB / 1.444 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/0.5805, allocations: 1.51 MB / 1.446 GB, free: 9.137 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004157/0.5847, allocations: 1.776 MB / 1.447 GB, free: 7.266 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008246/0.5929, allocations: 3.369 MB / 1.451 GB, free: 3.801 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.5929, allocations: 0 / 1.451 GB, free: 3.801 MB / 1.139 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01502/0.608, allocations: 5.203 MB / 1.456 GB, free: 14.56 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.608, allocations: 8 kB / 1.456 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.608, allocations: 8.875 kB / 1.456 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007579/0.6156, allocations: 1.884 MB / 1.458 GB, free: 12.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.6178, allocations: 415.2 kB / 1.458 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03311/0.6509, allocations: 22.85 MB / 1.48 GB, free: 4.578 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.6537, allocations: 303.5 kB / 1.481 GB, free: 4.281 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/0.654, allocations: 67.97 kB / 1.481 GB, free: 4.215 MB / 1.17 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001011/0.655, allocations: 466.6 kB / 1.481 GB, free: 3.75 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.6554, allocations: 167 kB / 1.481 GB, free: 3.586 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/0.6704, allocations: 5.24 MB / 1.486 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.6704, allocations: 16 kB / 1.486 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-05/0.6704, allocations: 20 kB / 1.486 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.6704, allocations: 7.969 kB / 1.486 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/0.6889, allocations: 6.805 MB / 1.493 GB, free: 7.348 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.6889, allocations: 4 kB / 1.493 GB, free: 7.344 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.6908, allocations: 347.4 kB / 1.493 GB, free: 7.004 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006521/0.6973, allocations: 1.706 MB / 1.495 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.6975, allocations: 43.91 kB / 1.495 GB, free: 5.234 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03156/0.7291, allocations: 22.02 MB / 1.517 GB, free: 14.4 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.7291, allocations: 11.88 kB / 1.517 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.7427, allocations: 4.817 MB / 1.521 GB, free: 9.488 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.744, allocations: 406.7 kB / 1.522 GB, free: 9.09 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/0.7444, allocations: 32 kB / 1.522 GB, free: 9.059 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/0.7469, allocations: 315.5 kB / 1.522 GB, free: 8.75 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005326/0.7474, allocations: 160.9 kB / 1.522 GB, free: 8.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.7476, allocations: 59.97 kB / 1.522 GB, free: 8.531 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00115/0.7487, allocations: 0.6801 MB / 1.523 GB, free: 7.848 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7487, allocations: 0 / 1.523 GB, free: 7.848 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002273/0.751, allocations: 0.6601 MB / 1.524 GB, free: 7.188 MB / 1.217 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003492/0.7513, allocations: 135.2 kB / 1.524 GB, free: 7.047 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01224/0.7636, allocations: 4.925 MB / 1.528 GB, free: 2.02 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.7636, allocations: 0 / 1.528 GB, free: 2.02 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007625/0.7712, allocations: 3.284 MB / 1.532 GB, free: 14.62 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.7738, allocations: 0.5101 MB / 1.532 GB, free: 14.13 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009808/0.7836, allocations: 4.35 MB / 1.536 GB, free: 9.73 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.785, allocations: 0.9799 MB / 1.537 GB, free: 8.707 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001354/0.7864, allocations: 369.2 kB / 1.538 GB, free: 8.34 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.7868, allocations: 95.38 kB / 1.538 GB, free: 8.25 MB / 1.232 GB Notification: Performance of SimCode: time 6.61e-07/0.7868, allocations: 0 / 1.538 GB, free: 8.25 MB / 1.232 GB Notification: Performance of Templates: time 0.08322/0.87, allocations: 48.93 MB / 1.586 GB, free: 7.992 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 10.910843692719936]