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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 200.2 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8393, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01511/0.8544, allocations: 11.32 MB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.8699, allocations: 9.099 MB / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.8716, allocations: 55.62 kB / 1.294 GB, free: 60 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004782/0.8763, allocations: 1.738 MB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005197/0.8815, allocations: 1.574 MB / 1.297 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.8837, allocations: 0.6785 MB / 1.298 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003598/0.8873, allocations: 2.29 MB / 1.3 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.8889, allocations: 0.9619 MB / 1.301 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.8907, allocations: 1.008 MB / 1.302 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.8923, allocations: 1.066 MB / 1.303 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.8925, allocations: 140 kB / 1.303 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.8941, allocations: 0.8149 MB / 1.304 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006288/0.8947, allocations: 0.5841 MB / 1.305 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000987/0.8957, allocations: 0.8861 MB / 1.306 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.8989, allocations: 2.58 MB / 1.308 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.8989, allocations: 0 / 1.308 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8989, allocations: 0 / 1.308 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.307e-05/0.899, allocations: 0 / 1.308 GB, free: 1.664 MB / 0.9981 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.003617/0.9026, allocations: 2.078 MB / 1.31 GB, free: 15.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.9026, allocations: 8.031 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.914, allocations: 2.055 MB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.9167, allocations: 1.225 MB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.9168, allocations: 86.69 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.9171, allocations: 123.9 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005838/0.9229, allocations: 2.474 MB / 1.316 GB, free: 9.348 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.923, allocations: 11.92 kB / 1.316 GB, free: 9.336 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.9231, allocations: 59.98 kB / 1.316 GB, free: 9.277 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000364/0.9235, allocations: 126.1 kB / 1.316 GB, free: 9.152 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007535/0.931, allocations: 2.533 MB / 1.319 GB, free: 6.609 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01543/0.9464, allocations: 10.05 MB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006525/0.953, allocations: 1.925 MB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.9559, allocations: 0.9425 MB / 1.331 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.9559, allocations: 4.438 kB / 1.331 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.9559, allocations: 39 kB / 1.331 GB, free: 8.949 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/0.9559, allocations: 0 / 1.331 GB, free: 8.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.03257/0.9885, allocations: 8.709 MB / 1.34 GB, free: 180 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.9886, allocations: 67.98 kB / 1.34 GB, free: 100 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.9902, allocations: 1.097 MB / 1.341 GB, free: 14.98 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.9904, allocations: 37.7 kB / 1.341 GB, free: 14.94 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000725/0.9911, allocations: 0.7512 MB / 1.342 GB, free: 14.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.9914, allocations: 297.4 kB / 1.342 GB, free: 13.89 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.9918, allocations: 202.5 kB / 1.342 GB, free: 13.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.992, allocations: 345.9 kB / 1.342 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/0.9952, allocations: 1.067 MB / 1.343 GB, free: 12.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/0.9985, allocations: 1.309 MB / 1.345 GB, free: 10.87 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006408/1.005, allocations: 2.382 MB / 1.347 GB, free: 8.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.005, allocations: 0 / 1.347 GB, free: 8.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009333/1.014, allocations: 3.258 MB / 1.35 GB, free: 5.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.014, allocations: 8 kB / 1.35 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.014, allocations: 4 kB / 1.35 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/1.017, allocations: 0.7953 MB / 1.351 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/1.019, allocations: 419.3 kB / 1.351 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/1.037, allocations: 15.91 MB / 1.367 GB, free: 2.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/1.039, allocations: 295.6 kB / 1.367 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.039, allocations: 51.97 kB / 1.367 GB, free: 2.484 MB / 1.061 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.0008051/1.04, allocations: 397.9 kB / 1.368 GB, free: 2.086 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/1.04, allocations: 159 kB / 1.368 GB, free: 1.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008886/1.049, allocations: 3.175 MB / 1.371 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.049, allocations: 8 kB / 1.371 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.049, allocations: 8 kB / 1.371 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/1.049, allocations: 3.984 kB / 1.371 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.061, allocations: 4.878 MB / 1.376 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.061, allocations: 4 kB / 1.376 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.062, allocations: 359.7 kB / 1.376 GB, free: 9.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002309/1.065, allocations: 0.6935 MB / 1.377 GB, free: 8.621 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/1.065, allocations: 31.95 kB / 1.377 GB, free: 8.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/1.082, allocations: 15.54 MB / 1.392 GB, free: 7.918 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.082, allocations: 7.969 kB / 1.392 GB, free: 7.91 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008504/1.09, allocations: 3.017 MB / 1.395 GB, free: 4.812 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.092, allocations: 392.1 kB / 1.395 GB, free: 4.41 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/1.092, allocations: 20 kB / 1.395 GB, free: 4.391 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.094, allocations: 295.4 kB / 1.396 GB, free: 4.102 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/1.094, allocations: 76.48 kB / 1.396 GB, free: 4.027 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-05/1.094, allocations: 39.97 kB / 1.396 GB, free: 3.988 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0011/1.095, allocations: 0.7482 MB / 1.396 GB, free: 3.238 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/1.095, allocations: 0 / 1.396 GB, free: 3.238 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001468/1.097, allocations: 431.9 kB / 1.397 GB, free: 2.816 MB / 1.092 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.0002638/1.097, allocations: 132.9 kB / 1.397 GB, free: 2.68 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008941/1.106, allocations: 3.519 MB / 1.4 GB, free: 15.05 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.106, allocations: 0 / 1.4 GB, free: 15.05 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005319/1.111, allocations: 2.313 MB / 1.403 GB, free: 12.64 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/1.114, allocations: 0.5362 MB / 1.403 GB, free: 12.12 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/1.121, allocations: 3.511 MB / 1.407 GB, free: 8.562 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.123, allocations: 1.388 MB / 1.408 GB, free: 7.141 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00125/1.124, allocations: 379.9 kB / 1.408 GB, free: 6.766 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/1.124, allocations: 107.4 kB / 1.408 GB, free: 6.66 MB / 1.107 GB Notification: Performance of SimCode: time 1.153e-06/1.124, allocations: 0 / 1.408 GB, free: 6.66 MB / 1.107 GB Notification: Performance of Templates: time 0.05177/1.176, allocations: 31.25 MB / 1.439 GB, free: 7.816 MB / 1.139 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 -s cvode -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_2/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: 9.65982234897092]