Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001777/0.001777, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.719/2.719, allocations: 476.7 MB / 0.7714 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002065/0.002065, allocations: 69.36 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3513, allocations: 169.9 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01426/0.3656, allocations: 11.33 MB / 1.296 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3799, allocations: 9.138 MB / 1.305 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.3816, allocations: 87.25 kB / 1.305 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004927/0.3865, allocations: 1.75 MB / 1.306 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005173/0.3917, allocations: 1.581 MB / 1.308 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.3939, allocations: 0.6731 MB / 1.309 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.3977, allocations: 2.284 MB / 1.311 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.3997, allocations: 1.16 MB / 1.312 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.4021, allocations: 1.184 MB / 1.313 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.4039, allocations: 0.992 MB / 1.314 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.4042, allocations: 136 kB / 1.314 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.406, allocations: 0.8227 MB / 1.315 GB, free: 11.94 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.4067, allocations: 0.5685 MB / 1.316 GB, free: 11.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.4078, allocations: 0.8861 MB / 1.316 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003879/0.4117, allocations: 2.553 MB / 1.319 GB, free: 7.918 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4117, allocations: 0 / 1.319 GB, free: 7.918 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4117, allocations: 0 / 1.319 GB, free: 7.918 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.318e-05/0.4117, allocations: 7.938 kB / 1.319 GB, free: 7.91 MB / 1.014 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.003822/0.4156, allocations: 1.991 MB / 1.321 GB, free: 5.879 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.4156, allocations: 8.031 kB / 1.321 GB, free: 5.871 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.4265, allocations: 2.067 MB / 1.323 GB, free: 3.801 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.4292, allocations: 1.106 MB / 1.324 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.4293, allocations: 90.69 kB / 1.324 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.4296, allocations: 120.1 kB / 1.324 GB, free: 2.438 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/0.4354, allocations: 2.438 MB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/0.4354, allocations: 15.83 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.4356, allocations: 55.98 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003564/0.436, allocations: 126.1 kB / 1.327 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00719/0.4432, allocations: 2.541 MB / 1.329 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.4583, allocations: 9.984 MB / 1.339 GB, free: 2.484 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.4641, allocations: 1.846 MB / 1.341 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002714/0.4668, allocations: 0.9503 MB / 1.342 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.4669, allocations: 4.438 kB / 1.342 GB, free: 15.67 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.4669, allocations: 39 kB / 1.342 GB, free: 15.62 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 2.955e-06/0.4669, allocations: 0 / 1.342 GB, free: 15.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=81): time 0.03061/0.4976, allocations: 9.121 MB / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.4976, allocations: 60.06 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.4992, allocations: 1.105 MB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.4994, allocations: 37.7 kB / 1.352 GB, free: 5.227 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006157/0.5, allocations: 0.759 MB / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.5004, allocations: 293.5 kB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.5007, allocations: 194.6 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5009, allocations: 341.9 kB / 1.353 GB, free: 3.633 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.5038, allocations: 1.087 MB / 1.354 GB, free: 2.547 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.5068, allocations: 1.317 MB / 1.356 GB, free: 1.141 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/0.5128, allocations: 2.397 MB / 1.358 GB, free: 14.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.5128, allocations: 3.984 kB / 1.358 GB, free: 14.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008895/0.5217, allocations: 3.292 MB / 1.361 GB, free: 11.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.5218, allocations: 11.94 kB / 1.361 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.5218, allocations: 7.984 kB / 1.361 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.5248, allocations: 0.862 MB / 1.362 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.5267, allocations: 415.3 kB / 1.363 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.5442, allocations: 15.32 MB / 1.377 GB, free: 9.754 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.5464, allocations: 295.5 kB / 1.378 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.5466, allocations: 52.02 kB / 1.378 GB, free: 9.414 MB / 1.076 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.0008247/0.5474, allocations: 407.4 kB / 1.378 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.5477, allocations: 151.1 kB / 1.378 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008638/0.5564, allocations: 3.21 MB / 1.381 GB, free: 5.613 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.5564, allocations: 11.94 kB / 1.382 GB, free: 5.602 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.5564, allocations: 8 kB / 1.382 GB, free: 5.594 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5564, allocations: 3.984 kB / 1.382 GB, free: 5.59 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5682, allocations: 4.908 MB / 1.386 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.5682, allocations: 7.938 kB / 1.386 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.5698, allocations: 351.7 kB / 1.387 GB, free: 216 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.5724, allocations: 0.776 MB / 1.387 GB, free: 15.41 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.5725, allocations: 27.97 kB / 1.387 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/0.5887, allocations: 14.95 MB / 1.402 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5887, allocations: 7.938 kB / 1.402 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007982/0.5967, allocations: 3.056 MB / 1.405 GB, free: 12.37 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.5977, allocations: 314.9 kB / 1.405 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.5979, allocations: 16 kB / 1.405 GB, free: 12.04 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.5996, allocations: 299.4 kB / 1.406 GB, free: 11.75 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.6, allocations: 84.44 kB / 1.406 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.623e-05/0.6001, allocations: 39.97 kB / 1.406 GB, free: 11.63 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001072/0.6011, allocations: 0.7366 MB / 1.406 GB, free: 10.89 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6011, allocations: 4 kB / 1.406 GB, free: 10.89 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00167/0.6028, allocations: 444 kB / 1.407 GB, free: 10.45 MB / 1.107 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.0002789/0.6031, allocations: 123.1 kB / 1.407 GB, free: 10.32 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008358/0.6114, allocations: 3.562 MB / 1.41 GB, free: 6.66 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.6114, allocations: 0 / 1.41 GB, free: 6.66 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004843/0.6163, allocations: 2.328 MB / 1.413 GB, free: 4.227 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.6186, allocations: 0.5353 MB / 1.413 GB, free: 3.715 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00947/0.6281, allocations: 3.914 MB / 1.417 GB, free: 15.73 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.6292, allocations: 1.395 MB / 1.418 GB, free: 14.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.6298, allocations: 123.3 kB / 1.419 GB, free: 14.18 MB / 1.123 GB Notification: Performance of SimCode: time 1.643e-06/0.6298, allocations: 0 / 1.419 GB, free: 14.18 MB / 1.123 GB Notification: Performance of Templates: time 0.08511/0.715, allocations: 75.26 MB / 1.492 GB, free: 2.992 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.18862313000136]