Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001402/0.001402, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001649/0.001649, allocations: 216.4 kB / 23.01 MB, free: 4.602 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.236/3.236, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00208/0.00208, allocations: 63.92 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 180.2 MB / 1.354 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008298/0.3627, allocations: 5.769 MB / 1.36 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005006/0.3677, allocations: 2.782 MB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.368, allocations: 31.69 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.37, allocations: 0.708 MB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009394/0.371, allocations: 421.7 kB / 1.364 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.372, allocations: 413.4 kB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.3731, allocations: 0.9633 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005841/0.3737, allocations: 382.5 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/0.3743, allocations: 386.5 kB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.3749, allocations: 442.3 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.776e-05/0.375, allocations: 48 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006466/0.3756, allocations: 363.2 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.3759, allocations: 255.2 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.3763, allocations: 346.2 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.3775, allocations: 0.9883 MB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3775, allocations: 4 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3775, allocations: 0 / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3775, allocations: 0 / 1.368 GB, free: 9.703 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.001681/0.3792, allocations: 0.9229 MB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3792, allocations: 8.031 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.3806, allocations: 204.2 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.3815, allocations: 468.9 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.3815, allocations: 37.38 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.3817, allocations: 60.53 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.383, allocations: 0.8363 MB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.383, allocations: 3.938 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.3831, allocations: 20 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.3833, allocations: 68.95 kB / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009553/0.3842, allocations: 0.5658 MB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004937/0.3891, allocations: 4.509 MB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.3896, allocations: 279.2 kB / 1.376 GB, free: 1.262 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.39, allocations: 205.3 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.39, allocations: 4.281 kB / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3901, allocations: 38.83 kB / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.3901, allocations: 0 / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.005754/0.3958, allocations: 2.342 MB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.3959, allocations: 55.41 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.3964, allocations: 462 kB / 1.379 GB, free: 14.08 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.3965, allocations: 37.7 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.3968, allocations: 348.5 kB / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3969, allocations: 150.7 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.3971, allocations: 114.2 kB / 1.379 GB, free: 13.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.3973, allocations: 358.8 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.3976, allocations: 237.2 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.3982, allocations: 411.3 kB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.3992, allocations: 0.6779 MB / 1.381 GB, free: 11.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3992, allocations: 8 kB / 1.381 GB, free: 11.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00179/0.401, allocations: 0.9134 MB / 1.382 GB, free: 10.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.401, allocations: 7.984 kB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.401, allocations: 8 kB / 1.382 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008111/0.4018, allocations: 226.8 kB / 1.382 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.4023, allocations: 111.9 kB / 1.382 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0058/0.4081, allocations: 5.033 MB / 1.387 GB, free: 4.934 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.4086, allocations: 35.91 kB / 1.387 GB, free: 4.898 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.4086, allocations: 20 kB / 1.387 GB, free: 4.879 MB / 1.076 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.0003394/0.409, allocations: 225.7 kB / 1.387 GB, free: 4.648 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.4091, allocations: 63.56 kB / 1.387 GB, free: 4.586 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.4107, allocations: 0.762 MB / 1.388 GB, free: 3.805 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.4107, allocations: 7.984 kB / 1.388 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4107, allocations: 4 kB / 1.388 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4107, allocations: 3.984 kB / 1.388 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.4134, allocations: 1.467 MB / 1.39 GB, free: 2.242 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4134, allocations: 4 kB / 1.39 GB, free: 2.238 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.4138, allocations: 63.89 kB / 1.39 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007059/0.4145, allocations: 206.6 kB / 1.39 GB, free: 1.965 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.4146, allocations: 12 kB / 1.39 GB, free: 1.953 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00548/0.4201, allocations: 4.964 MB / 1.395 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4201, allocations: 0 / 1.395 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.422, allocations: 1.139 MB / 1.396 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.4223, allocations: 91.61 kB / 1.396 GB, free: 11.37 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.4224, allocations: 19.92 kB / 1.396 GB, free: 11.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.4227, allocations: 27.97 kB / 1.396 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.4228, allocations: 35.88 kB / 1.396 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4228, allocations: 12 kB / 1.396 GB, free: 11.28 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003884/0.4232, allocations: 326.9 kB / 1.396 GB, free: 10.96 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4232, allocations: 0 / 1.396 GB, free: 10.96 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007263/0.4239, allocations: 164 kB / 1.397 GB, free: 10.8 MB / 1.092 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.000175/0.4241, allocations: 111.2 kB / 1.397 GB, free: 10.68 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.4258, allocations: 0.9691 MB / 1.398 GB, free: 9.672 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4258, allocations: 0 / 1.398 GB, free: 9.672 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.4268, allocations: 0.672 MB / 1.398 GB, free: 8.961 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.4277, allocations: 194.3 kB / 1.398 GB, free: 8.777 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.4299, allocations: 1.332 MB / 1.4 GB, free: 7.391 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/0.4307, allocations: 0.9532 MB / 1.401 GB, free: 6.41 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4308, allocations: 39.44 kB / 1.401 GB, free: 6.371 MB / 1.092 GB Notification: Performance of SimCode: time 3.51e-07/0.4308, allocations: 0 / 1.401 GB, free: 6.371 MB / 1.092 GB Notification: Performance of Templates: time 0.021/0.4518, allocations: 15 MB / 1.415 GB, free: 7.418 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.901308686996344]