Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001782/0.001782, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002117/0.002117, allocations: 214.2 kB / 22.99 MB, free: 4.945 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.188/3.188, allocations: 0.4892 GB / 0.7951 GB, free: 35.69 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.OnePhase.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [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.002101/0.002101, allocations: 69.05 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4004, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01543/0.4158, allocations: 10.34 MB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01624/0.4321, allocations: 8.503 MB / 1.345 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.4339, allocations: 87.25 kB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005282/0.4392, allocations: 1.673 MB / 1.346 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.4448, allocations: 1.567 MB / 1.348 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.4471, allocations: 0.6783 MB / 1.349 GB, free: 10.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003765/0.4509, allocations: 2.281 MB / 1.351 GB, free: 8.691 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.4529, allocations: 1.137 MB / 1.352 GB, free: 7.512 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.4552, allocations: 1.184 MB / 1.353 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.4568, allocations: 0.9334 MB / 1.354 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.457, allocations: 140 kB / 1.354 GB, free: 5.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.4587, allocations: 0.7369 MB / 1.355 GB, free: 4.512 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006425/0.4593, allocations: 0.5685 MB / 1.355 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000908/0.4602, allocations: 0.7153 MB / 1.356 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.4638, allocations: 2.576 MB / 1.359 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4638, allocations: 3.938 kB / 1.359 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of FrontEnd: time 6.131e-06/0.4638, allocations: 3.984 kB / 1.359 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.4638, allocations: 0 / 1.359 GB, free: 0.6289 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003709/0.4675, allocations: 1.991 MB / 1.361 GB, free: 14.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4676, allocations: 8.031 kB / 1.361 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.4787, allocations: 2.055 MB / 1.363 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.4816, allocations: 1.114 MB / 1.364 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.4817, allocations: 86.69 kB / 1.364 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.4819, allocations: 116.1 kB / 1.364 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005973/0.4879, allocations: 2.697 MB / 1.367 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/0.488, allocations: 15.89 kB / 1.367 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.4881, allocations: 47.98 kB / 1.367 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003692/0.4885, allocations: 134.1 kB / 1.367 GB, free: 8.078 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007449/0.4959, allocations: 2.541 MB / 1.369 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.5099, allocations: 7.48 MB / 1.376 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/0.5163, allocations: 1.838 MB / 1.378 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.5191, allocations: 0.9532 MB / 1.379 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.5192, allocations: 8.438 kB / 1.379 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.5192, allocations: 39 kB / 1.379 GB, free: 11.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 3.076e-06/0.5192, allocations: 4 kB / 1.379 GB, free: 11.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03333/0.5526, allocations: 9.102 MB / 1.388 GB, free: 1.867 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.5526, allocations: 60.06 kB / 1.388 GB, free: 1.797 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.5543, allocations: 0.9593 MB / 1.389 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.5544, allocations: 37.7 kB / 1.389 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006882/0.5551, allocations: 0.7736 MB / 1.39 GB, free: 0 / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.5554, allocations: 285.7 kB / 1.39 GB, free: 15.71 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/0.5558, allocations: 206.5 kB / 1.39 GB, free: 15.51 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.556, allocations: 345.7 kB / 1.391 GB, free: 15.17 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.5592, allocations: 1.079 MB / 1.392 GB, free: 14.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00335/0.5625, allocations: 1.325 MB / 1.393 GB, free: 12.67 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006521/0.569, allocations: 2.409 MB / 1.395 GB, free: 10.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.569, allocations: 0 / 1.395 GB, free: 10.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009753/0.5788, allocations: 3.277 MB / 1.399 GB, free: 6.852 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.5788, allocations: 8 kB / 1.399 GB, free: 6.844 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.5788, allocations: 8 kB / 1.399 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/0.582, allocations: 0.8498 MB / 1.399 GB, free: 5.961 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.584, allocations: 415.3 kB / 1.4 GB, free: 5.555 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/0.6024, allocations: 15.02 MB / 1.415 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.6049, allocations: 303.6 kB / 1.415 GB, free: 5.414 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.605, allocations: 51.91 kB / 1.415 GB, free: 5.363 MB / 1.107 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008687/0.6059, allocations: 401.4 kB / 1.415 GB, free: 4.961 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.6062, allocations: 139.2 kB / 1.415 GB, free: 4.824 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009243/0.6154, allocations: 3.204 MB / 1.419 GB, free: 1.574 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6154, allocations: 8 kB / 1.419 GB, free: 1.566 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.6155, allocations: 8 kB / 1.419 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.6155, allocations: 3.984 kB / 1.419 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.628, allocations: 4.523 MB / 1.423 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.6281, allocations: 11.98 kB / 1.423 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.6298, allocations: 347.4 kB / 1.423 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002926/0.6327, allocations: 0.7679 MB / 1.424 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.6329, allocations: 31.97 kB / 1.424 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/0.6514, allocations: 14.64 MB / 1.438 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6514, allocations: 0 / 1.438 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008959/0.6603, allocations: 3.051 MB / 1.441 GB, free: 9.164 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.6614, allocations: 302.9 kB / 1.442 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.6617, allocations: 15.94 kB / 1.442 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/0.6638, allocations: 299.4 kB / 1.442 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.6641, allocations: 84.44 kB / 1.442 GB, free: 8.477 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.6642, allocations: 39.91 kB / 1.442 GB, free: 8.438 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00117/0.6654, allocations: 0.6346 MB / 1.443 GB, free: 7.797 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.6654, allocations: 4 kB / 1.443 GB, free: 7.793 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001933/0.6673, allocations: 439.9 kB / 1.443 GB, free: 7.363 MB / 1.139 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003343/0.6676, allocations: 135.1 kB / 1.443 GB, free: 7.223 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009351/0.677, allocations: 3.551 MB / 1.447 GB, free: 3.57 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.677, allocations: 0 / 1.447 GB, free: 3.57 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005558/0.6826, allocations: 2.332 MB / 1.449 GB, free: 1.137 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.6855, allocations: 486.2 kB / 1.449 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.6966, allocations: 3.899 MB / 1.453 GB, free: 12.71 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.6979, allocations: 0.8015 MB / 1.454 GB, free: 11.87 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006557/0.6985, allocations: 123.3 kB / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of SimCode: time 1.493e-06/0.6985, allocations: 0 / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of Templates: time 0.09178/0.7903, allocations: 75.01 MB / 1.527 GB, free: 0.7891 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 18.62545335199684]