Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001628/0.001628, allocations: 117.7 kB / 17.13 MB, free: 6.047 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.001745/0.001745, allocations: 209.8 kB / 20.09 MB, free: 3.098 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.972/2.972, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [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.002186/0.002186, allocations: 63.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006187/1.083, allocations: 5.612 MB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004426/1.088, allocations: 2.723 MB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/1.088, allocations: 32.97 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/1.09, allocations: 0.6926 MB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/1.091, allocations: 424.7 kB / 1.331 GB, free: 18.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/1.092, allocations: 415.3 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001255/1.093, allocations: 0.9598 MB / 1.333 GB, free: 18.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006134/1.094, allocations: 373.5 kB / 1.333 GB, free: 17.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006731/1.095, allocations: 398.9 kB / 1.333 GB, free: 17.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/1.095, allocations: 431.2 kB / 1.334 GB, free: 17.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.899e-05/1.095, allocations: 47.69 kB / 1.334 GB, free: 17.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/1.096, allocations: 378.6 kB / 1.334 GB, free: 17.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000436/1.097, allocations: 250.2 kB / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005722/1.097, allocations: 347.7 kB / 1.335 GB, free: 17.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/1.1, allocations: 0.9836 MB / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.1, allocations: 1.641 kB / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.515e-06/1.1, allocations: 0 / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.207e-05/1.1, allocations: 0.5 kB / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002479/1.102, allocations: 0.9969 MB / 1.337 GB, free: 16.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/1.102, allocations: 13.58 kB / 1.337 GB, free: 16.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/1.104, allocations: 198.9 kB / 1.337 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/1.105, allocations: 0.5262 MB / 1.337 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/1.105, allocations: 37.7 kB / 1.337 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/1.105, allocations: 60.19 kB / 1.337 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/1.107, allocations: 0.8283 MB / 1.338 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/1.107, allocations: 6.688 kB / 1.338 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/1.107, allocations: 26.86 kB / 1.338 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/1.107, allocations: 67.97 kB / 1.338 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009398/1.108, allocations: 0.5694 MB / 1.339 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/1.112, allocations: 4.575 MB / 1.343 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/1.113, allocations: 280.4 kB / 1.344 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/1.113, allocations: 211.3 kB / 1.344 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/1.113, allocations: 7.75 kB / 1.344 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.113, allocations: 33.88 kB / 1.344 GB, free: 10.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/1.113, allocations: 0 / 1.344 GB, free: 10.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.005801/1.119, allocations: 2.643 MB / 1.346 GB, free: 9.312 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/1.119, allocations: 54.66 kB / 1.346 GB, free: 9.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/1.12, allocations: 465.9 kB / 1.347 GB, free: 9.023 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/1.12, allocations: 36.23 kB / 1.347 GB, free: 8.984 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/1.12, allocations: 351.1 kB / 1.347 GB, free: 8.703 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/1.12, allocations: 145.7 kB / 1.347 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/1.12, allocations: 110.4 kB / 1.348 GB, free: 8.527 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/1.12, allocations: 359.8 kB / 1.348 GB, free: 8.195 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/1.121, allocations: 243.5 kB / 1.348 GB, free: 8.109 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/1.121, allocations: 410.9 kB / 1.349 GB, free: 7.812 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/1.122, allocations: 0.6723 MB / 1.349 GB, free: 7.379 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.122, allocations: 6.156 kB / 1.349 GB, free: 7.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0018/1.124, allocations: 0.9127 MB / 1.35 GB, free: 6.992 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/1.124, allocations: 9.5 kB / 1.35 GB, free: 6.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.124, allocations: 5.75 kB / 1.35 GB, free: 6.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008723/1.125, allocations: 224.5 kB / 1.35 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/1.125, allocations: 115.8 kB / 1.35 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/1.13, allocations: 5.345 MB / 1.356 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/1.131, allocations: 30.39 kB / 1.356 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/1.131, allocations: 22.16 kB / 1.356 GB, free: 2.234 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003744/1.131, allocations: 228.1 kB / 1.356 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.131, allocations: 64.53 kB / 1.356 GB, free: 2.027 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/1.133, allocations: 0.7664 MB / 1.357 GB, free: 1.688 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.133, allocations: 4.672 kB / 1.357 GB, free: 1.688 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.133, allocations: 2.781 kB / 1.357 GB, free: 1.688 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.133, allocations: 2.438 kB / 1.357 GB, free: 1.688 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/1.135, allocations: 1.487 MB / 1.358 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.135, allocations: 6.391 kB / 1.358 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/1.136, allocations: 72.16 kB / 1.358 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/1.137, allocations: 202.4 kB / 1.358 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/1.137, allocations: 8.922 kB / 1.358 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/1.142, allocations: 5.278 MB / 1.364 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.142, allocations: 2.188 kB / 1.364 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.145, allocations: 1.126 MB / 1.365 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/1.145, allocations: 182.8 kB / 1.365 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/1.145, allocations: 14.95 kB / 1.365 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/1.146, allocations: 22.77 kB / 1.365 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/1.146, allocations: 35.97 kB / 1.365 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/1.146, allocations: 13.72 kB / 1.365 GB, free: 11.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004688/1.146, allocations: 315.3 kB / 1.365 GB, free: 11.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.146, allocations: 1.469 kB / 1.365 GB, free: 11.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008782/1.147, allocations: 173.9 kB / 1.365 GB, free: 11.26 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/1.147, allocations: 115.2 kB / 1.366 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.149, allocations: 0.9695 MB / 1.366 GB, free: 10.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.149, allocations: 0 / 1.366 GB, free: 10.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.15, allocations: 0.67 MB / 1.367 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/1.151, allocations: 183.2 kB / 1.367 GB, free: 10.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/1.154, allocations: 1.32 MB / 1.369 GB, free: 9.305 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/1.155, allocations: 0.9527 MB / 1.37 GB, free: 8.574 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/1.155, allocations: 39.94 kB / 1.37 GB, free: 8.566 MB / 1.076 GB Notification: Performance of SimCode: time 1.253e-06/1.155, allocations: 1.406 kB / 1.37 GB, free: 8.566 MB / 1.076 GB Notification: Performance of Templates: time 0.02902/1.184, allocations: 14.99 MB / 1.384 GB, free: 7.148 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 14.472957454010611]