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.002012/0.002012, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002341/0.002341, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.169/3.169, allocations: 0.4899 GB / 0.7915 GB, free: 33.54 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.002077/0.002077, allocations: 68.19 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3453, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0146/0.3599, allocations: 11.07 MB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.374, allocations: 8.935 MB / 1.341 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.3751, allocations: 87.25 kB / 1.341 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004403/0.3795, allocations: 1.695 MB / 1.343 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.3837, allocations: 1.567 MB / 1.344 GB, free: 11.4 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.3855, allocations: 0.6723 MB / 1.345 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002829/0.3883, allocations: 2.282 MB / 1.347 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.3898, allocations: 1.091 MB / 1.348 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.3915, allocations: 1.184 MB / 1.349 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.3928, allocations: 0.9998 MB / 1.35 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.393, allocations: 136 kB / 1.35 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.3945, allocations: 0.811 MB / 1.351 GB, free: 4.168 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000559/0.3951, allocations: 0.5802 MB / 1.352 GB, free: 3.586 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008817/0.3959, allocations: 0.8706 MB / 1.352 GB, free: 2.711 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.399, allocations: 2.561 MB / 1.355 GB, free: 144 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.399, allocations: 4 kB / 1.355 GB, free: 140 kB / 1.045 GB Notification: Performance of FrontEnd: time 3.025e-06/0.399, allocations: 3.984 kB / 1.355 GB, free: 136 kB / 1.045 GB Notification: Performance of Transformations before backend: time 2.777e-05/0.399, allocations: 0 / 1.355 GB, free: 136 kB / 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.4027, allocations: 2.066 MB / 1.357 GB, free: 14.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4027, allocations: 8.031 kB / 1.357 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.4143, allocations: 2.051 MB / 1.359 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.4165, allocations: 1.217 MB / 1.36 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.967e-05/0.4166, allocations: 86.69 kB / 1.36 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.4168, allocations: 116.1 kB / 1.36 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005726/0.4225, allocations: 2.446 MB / 1.363 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.4226, allocations: 7.938 kB / 1.363 GB, free: 7.883 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.4227, allocations: 55.92 kB / 1.363 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003917/0.4231, allocations: 130.1 kB / 1.363 GB, free: 7.699 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007691/0.4308, allocations: 2.545 MB / 1.365 GB, free: 5.145 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.4452, allocations: 10.07 MB / 1.375 GB, free: 10.42 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006601/0.4518, allocations: 1.933 MB / 1.377 GB, free: 8.453 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/0.4547, allocations: 0.9486 MB / 1.378 GB, free: 7.504 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.4547, allocations: 4.438 kB / 1.378 GB, free: 7.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.4548, allocations: 43 kB / 1.378 GB, free: 7.449 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.4548, allocations: 0 / 1.378 GB, free: 7.449 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03296/0.4877, allocations: 9.197 MB / 1.387 GB, free: 14.19 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.4878, allocations: 71.94 kB / 1.387 GB, free: 14.11 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.4892, allocations: 1.101 MB / 1.388 GB, free: 12.99 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.4893, allocations: 41.7 kB / 1.388 GB, free: 12.95 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/0.4899, allocations: 0.7512 MB / 1.389 GB, free: 12.19 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.4902, allocations: 297.4 kB / 1.389 GB, free: 11.89 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/0.4906, allocations: 198.5 kB / 1.39 GB, free: 11.69 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4908, allocations: 341.9 kB / 1.39 GB, free: 11.35 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.4939, allocations: 1.087 MB / 1.391 GB, free: 10.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003294/0.4972, allocations: 1.313 MB / 1.392 GB, free: 8.863 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006396/0.5036, allocations: 2.409 MB / 1.395 GB, free: 6.355 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5036, allocations: 0 / 1.395 GB, free: 6.355 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009336/0.513, allocations: 3.289 MB / 1.398 GB, free: 3.031 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.513, allocations: 8 kB / 1.398 GB, free: 3.023 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.513, allocations: 8.094 kB / 1.398 GB, free: 3.016 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.5162, allocations: 0.8535 MB / 1.399 GB, free: 2.137 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.5181, allocations: 423.3 kB / 1.399 GB, free: 1.723 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.536, allocations: 16.14 MB / 1.415 GB, free: 464 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.5384, allocations: 299.6 kB / 1.415 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.5385, allocations: 47.97 kB / 1.415 GB, free: 116 kB / 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.0008068/0.5393, allocations: 401.5 kB / 1.415 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.5396, allocations: 151.1 kB / 1.416 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009409/0.549, allocations: 3.214 MB / 1.419 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.549, allocations: 8 kB / 1.419 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.549, allocations: 12 kB / 1.419 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.549, allocations: 3.984 kB / 1.419 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5608, allocations: 4.936 MB / 1.424 GB, free: 7.219 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.5608, allocations: 4.344 kB / 1.424 GB, free: 7.215 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.5625, allocations: 355.4 kB / 1.424 GB, free: 6.867 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.5653, allocations: 0.7717 MB / 1.425 GB, free: 6.07 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.5654, allocations: 27.97 kB / 1.425 GB, free: 6.043 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.5826, allocations: 15.76 MB / 1.44 GB, free: 5.16 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.5826, allocations: 7.938 kB / 1.44 GB, free: 5.152 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008824/0.5914, allocations: 3.056 MB / 1.443 GB, free: 2.016 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.5922, allocations: 400 kB / 1.443 GB, free: 1.605 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.5924, allocations: 12 kB / 1.444 GB, free: 1.594 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/0.5943, allocations: 299.4 kB / 1.444 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.5946, allocations: 80.48 kB / 1.444 GB, free: 1.223 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5947, allocations: 39.97 kB / 1.444 GB, free: 1.184 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001053/0.5957, allocations: 0.7405 MB / 1.445 GB, free: 452 kB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5957, allocations: 0 / 1.445 GB, free: 452 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.001547/0.5973, allocations: 443.9 kB / 1.445 GB, free: 8 kB / 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.0002818/0.5975, allocations: 131.1 kB / 1.445 GB, free: 15.87 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009046/0.6066, allocations: 3.55 MB / 1.449 GB, free: 12.22 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.6066, allocations: 4 kB / 1.449 GB, free: 12.21 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00534/0.6119, allocations: 2.34 MB / 1.451 GB, free: 9.77 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.6141, allocations: 0.5205 MB / 1.451 GB, free: 9.27 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009419/0.6236, allocations: 3.786 MB / 1.455 GB, free: 5.426 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.6247, allocations: 1.395 MB / 1.457 GB, free: 4 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001232/0.626, allocations: 379.9 kB / 1.457 GB, free: 3.625 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.6263, allocations: 111.4 kB / 1.457 GB, free: 3.516 MB / 1.154 GB Notification: Performance of SimCode: time 1.233e-06/0.6263, allocations: 0 / 1.457 GB, free: 3.516 MB / 1.154 GB Notification: Performance of Templates: time 0.05186/0.6782, allocations: 31.16 MB / 1.487 GB, free: 4.762 MB / 1.186 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/jenkins/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: 10.041345078032464]