Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001375/0.001375, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001573/0.001573, allocations: 219.3 kB / 23 MB, free: 4.914 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.697/2.697, allocations: 476 MB / 0.7707 GB, free: 4.734 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_L,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_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_L") [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.002202/0.002202, allocations: 67.64 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3612, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009778/0.371, allocations: 5.906 MB / 1.29 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00626/0.3772, allocations: 3.13 MB / 1.293 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.3778, allocations: 43.62 kB / 1.293 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.3806, allocations: 0.9254 MB / 1.294 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3822, allocations: 497.5 kB / 1.294 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.3838, allocations: 489.1 kB / 1.295 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.3854, allocations: 1.089 MB / 1.296 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.3863, allocations: 0.5177 MB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.3871, allocations: 458.4 kB / 1.297 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/0.3878, allocations: 470 kB / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3879, allocations: 60 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.389, allocations: 443 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.3893, allocations: 295.1 kB / 1.298 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.3897, allocations: 326.5 kB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.3916, allocations: 1.187 MB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.3916, allocations: 0 / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.826e-06/0.3916, allocations: 0 / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.3916, allocations: 0 / 1.299 GB, free: 12.12 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002243/0.3939, allocations: 1.006 MB / 1.3 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.3939, allocations: 8.031 kB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.3955, allocations: 224.1 kB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.3969, allocations: 0.5204 MB / 1.301 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.397, allocations: 45.67 kB / 1.301 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.3971, allocations: 64.33 kB / 1.301 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.3989, allocations: 1.138 MB / 1.302 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.3989, allocations: 7.938 kB / 1.302 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.399, allocations: 27.98 kB / 1.302 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.3991, allocations: 69.27 kB / 1.302 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.4002, allocations: 0.6879 MB / 1.303 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.4056, allocations: 4.405 MB / 1.307 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.4064, allocations: 415.8 kB / 1.308 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008853/0.4073, allocations: 388.6 kB / 1.308 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.4073, allocations: 7.938 kB / 1.308 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4074, allocations: 30.56 kB / 1.308 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.4074, allocations: 0 / 1.308 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.004431/0.4118, allocations: 1.713 MB / 1.31 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.4119, allocations: 59.34 kB / 1.31 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.4124, allocations: 425.8 kB / 1.31 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.4124, allocations: 41.7 kB / 1.31 GB, free: 460 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.4127, allocations: 392 kB / 1.311 GB, free: 60 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.4128, allocations: 162.7 kB / 1.311 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.413, allocations: 110.2 kB / 1.311 GB, free: 15.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4132, allocations: 362.8 kB / 1.311 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.4136, allocations: 241.2 kB / 1.311 GB, free: 15.19 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.4142, allocations: 457 kB / 1.312 GB, free: 14.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.4153, allocations: 0.7519 MB / 1.313 GB, free: 13.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4153, allocations: 4 kB / 1.313 GB, free: 13.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001898/0.4172, allocations: 1.023 MB / 1.314 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4172, allocations: 14.17 kB / 1.314 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4172, allocations: 11.94 kB / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.4182, allocations: 315.3 kB / 1.314 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.4185, allocations: 99.75 kB / 1.314 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007981/0.4265, allocations: 6.918 MB / 1.321 GB, free: 4.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.427, allocations: 31.97 kB / 1.321 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.427, allocations: 32 kB / 1.321 GB, free: 4.914 MB / 1.014 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003817/0.4274, allocations: 245.5 kB / 1.321 GB, free: 4.664 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.4275, allocations: 55.67 kB / 1.321 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.4293, allocations: 0.8801 MB / 1.322 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4293, allocations: 4 kB / 1.322 GB, free: 3.703 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4293, allocations: 4.281 kB / 1.322 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4293, allocations: 3.984 kB / 1.322 GB, free: 3.695 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.432, allocations: 1.502 MB / 1.323 GB, free: 2.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.432, allocations: 4.125 kB / 1.323 GB, free: 2.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4322, allocations: 43.97 kB / 1.323 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009132/0.4331, allocations: 315.2 kB / 1.324 GB, free: 1.758 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.4331, allocations: 12 kB / 1.324 GB, free: 1.746 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007868/0.441, allocations: 6.911 MB / 1.331 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.441, allocations: 7.875 kB / 1.331 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.4428, allocations: 0.9879 MB / 1.331 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.4431, allocations: 95.58 kB / 1.332 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.4432, allocations: 8 kB / 1.332 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.4434, allocations: 23.91 kB / 1.332 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4435, allocations: 43.92 kB / 1.332 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.4436, allocations: 16 kB / 1.332 GB, free: 9.199 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000353/0.4439, allocations: 279.2 kB / 1.332 GB, free: 8.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4439, allocations: 0 / 1.332 GB, free: 8.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007816/0.4447, allocations: 192 kB / 1.332 GB, free: 8.742 MB / 1.029 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001541/0.4449, allocations: 115.1 kB / 1.332 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.4468, allocations: 1.159 MB / 1.333 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4468, allocations: 0 / 1.333 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4481, allocations: 0.8386 MB / 1.334 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.4491, allocations: 198 kB / 1.334 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.4512, allocations: 1.298 MB / 1.336 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.4517, allocations: 394.7 kB / 1.336 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.4518, allocations: 35.44 kB / 1.336 GB, free: 4.539 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.4518, allocations: 0 / 1.336 GB, free: 4.539 MB / 1.029 GB Notification: Performance of Templates: time 0.02451/0.4763, allocations: 18.64 MB / 1.354 GB, free: 1.93 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.02737717796117]