Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001898/0.001898, 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.002537/0.002537, allocations: 212.2 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.785 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.552/3.552, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.002094/0.002094, allocations: 66.88 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4352, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01684/0.452, allocations: 6.495 MB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4622, allocations: 3.04 MB / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008668/0.4631, allocations: 35.69 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00436/0.4674, allocations: 0.9454 MB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.47, allocations: 0.5207 MB / 1.375 GB, free: 2.496 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.4721, allocations: 424.8 kB / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.4748, allocations: 1.225 MB / 1.376 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.4762, allocations: 0.5295 MB / 1.377 GB, free: 320 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.4776, allocations: 0.4904 MB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.4789, allocations: 0.5135 MB / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.4791, allocations: 68 kB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.4803, allocations: 339.3 kB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006062/0.4809, allocations: 323.1 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007861/0.4817, allocations: 378.2 kB / 1.379 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.4844, allocations: 1.226 MB / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4844, allocations: 0 / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.885e-06/0.4844, allocations: 0 / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.4844, allocations: 0 / 1.38 GB, free: 12.99 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003515/0.4879, allocations: 1.112 MB / 1.381 GB, free: 11.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.488, allocations: 12.03 kB / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.4911, allocations: 236.1 kB / 1.381 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.493, allocations: 0.5191 MB / 1.382 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/0.4931, allocations: 49.67 kB / 1.382 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.4933, allocations: 72.31 kB / 1.382 GB, free: 10.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/0.4964, allocations: 1.336 MB / 1.383 GB, free: 9.438 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/0.4965, allocations: 11.92 kB / 1.383 GB, free: 9.426 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.4966, allocations: 27.98 kB / 1.383 GB, free: 9.398 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002814/0.4969, allocations: 81.27 kB / 1.383 GB, free: 9.316 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.4991, allocations: 0.7542 MB / 1.384 GB, free: 8.559 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009731/0.5089, allocations: 4.523 MB / 1.388 GB, free: 3.883 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.5106, allocations: 0.5084 MB / 1.389 GB, free: 3.363 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/0.5114, allocations: 289 kB / 1.389 GB, free: 3.082 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.5114, allocations: 8.422 kB / 1.389 GB, free: 3.074 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.5115, allocations: 39 kB / 1.389 GB, free: 3.027 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 4.489e-06/0.5115, allocations: 0 / 1.389 GB, free: 3.027 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.00703/0.5185, allocations: 1.679 MB / 1.391 GB, free: 1.328 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.5186, allocations: 55.84 kB / 1.391 GB, free: 1.262 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5196, allocations: 0.5105 MB / 1.392 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/0.5197, allocations: 33.7 kB / 1.392 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/0.5202, allocations: 427.8 kB / 1.392 GB, free: 284 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.5205, allocations: 186.4 kB / 1.392 GB, free: 96 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.5209, allocations: 122.7 kB / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0003902/0.5213, allocations: 378.7 kB / 1.393 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000818/0.5221, allocations: 273.8 kB / 1.393 GB, free: 15.32 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5232, allocations: 493 kB / 1.393 GB, free: 14.74 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.5254, allocations: 0.8083 MB / 1.394 GB, free: 13.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.5254, allocations: 4 kB / 1.394 GB, free: 13.83 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003748/0.5291, allocations: 1.074 MB / 1.395 GB, free: 12.74 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.5292, allocations: 11.94 kB / 1.395 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.5292, allocations: 8 kB / 1.395 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.5308, allocations: 283.5 kB / 1.395 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009237/0.5317, allocations: 123.8 kB / 1.396 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.5444, allocations: 6.594 MB / 1.402 GB, free: 5.301 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.5455, allocations: 39.97 kB / 1.402 GB, free: 5.262 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.5456, allocations: 28.11 kB / 1.402 GB, free: 5.234 MB / 1.092 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007462/0.5463, allocations: 257.5 kB / 1.402 GB, free: 4.973 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.5465, allocations: 67.58 kB / 1.402 GB, free: 4.906 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/0.5496, allocations: 0.8724 MB / 1.403 GB, free: 4.012 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.5496, allocations: 11.98 kB / 1.403 GB, free: 4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.5496, allocations: 4 kB / 1.403 GB, free: 3.996 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5496, allocations: 3.984 kB / 1.403 GB, free: 3.992 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0048/0.5544, allocations: 1.525 MB / 1.405 GB, free: 2.398 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5544, allocations: 0 / 1.405 GB, free: 2.398 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.5549, allocations: 64.27 kB / 1.405 GB, free: 2.336 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.5563, allocations: 275.1 kB / 1.405 GB, free: 2.055 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.5564, allocations: 12 kB / 1.405 GB, free: 2.043 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.5675, allocations: 6.583 MB / 1.412 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5675, allocations: 4.031 kB / 1.412 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.5703, allocations: 0.9682 MB / 1.412 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.5708, allocations: 115.5 kB / 1.413 GB, free: 9.918 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.5709, allocations: 20 kB / 1.413 GB, free: 9.898 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/0.5715, allocations: 23.97 kB / 1.413 GB, free: 9.875 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.5717, allocations: 51.84 kB / 1.413 GB, free: 9.824 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.5718, allocations: 16 kB / 1.413 GB, free: 9.809 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006871/0.5725, allocations: 334.9 kB / 1.413 GB, free: 9.484 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5725, allocations: 4 kB / 1.413 GB, free: 9.48 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001447/0.5739, allocations: 216 kB / 1.413 GB, free: 9.27 MB / 1.107 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002477/0.5742, allocations: 123.1 kB / 1.413 GB, free: 9.141 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003104/0.5773, allocations: 1.232 MB / 1.415 GB, free: 7.863 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5773, allocations: 0 / 1.415 GB, free: 7.863 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.5791, allocations: 0.862 MB / 1.415 GB, free: 6.949 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.5806, allocations: 209.6 kB / 1.416 GB, free: 6.746 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.5842, allocations: 1.35 MB / 1.417 GB, free: 5.348 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008006/0.585, allocations: 419.3 kB / 1.417 GB, free: 4.91 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006669/0.5857, allocations: 109.5 kB / 1.417 GB, free: 4.801 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5859, allocations: 39.44 kB / 1.417 GB, free: 4.762 MB / 1.107 GB Notification: Performance of SimCode: time 1.273e-06/0.5859, allocations: 7.875 kB / 1.417 GB, free: 4.754 MB / 1.107 GB Notification: Performance of Templates: time 0.03772/0.6236, allocations: 12.27 MB / 1.429 GB, free: 8.715 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.44776488468051]