Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001401/0.001401, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00156/0.00156, allocations: 207.4 kB / 22.24 MB, free: 5.262 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.797 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.858/2.858, allocations: 475.9 MB / 0.7699 GB, free: 4.836 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.002103/0.002103, allocations: 64.45 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3496, allocations: 170 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03611/0.3857, allocations: 25.57 MB / 1.308 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01695/0.4026, allocations: 8.095 MB / 1.316 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/0.4059, allocations: 154.8 kB / 1.316 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008668/0.4145, allocations: 2.777 MB / 1.319 GB, free: 7.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005901/0.4204, allocations: 1.664 MB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005694/0.4261, allocations: 1.679 MB / 1.322 GB, free: 3.953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009515/0.4356, allocations: 6.143 MB / 1.328 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008124/0.4438, allocations: 3.734 MB / 1.332 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005491/0.4493, allocations: 2.676 MB / 1.334 GB, free: 7.285 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005824/0.4551, allocations: 2.823 MB / 1.337 GB, free: 4.453 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001988/0.4571, allocations: 0.5078 MB / 1.338 GB, free: 3.945 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.4613, allocations: 1.205 MB / 1.339 GB, free: 2.738 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003889/0.4652, allocations: 2.097 MB / 1.341 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005539/0.4707, allocations: 1.934 MB / 1.343 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.484, allocations: 8.11 MB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.484, allocations: 0 / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.484, allocations: 0 / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002822/0.4843, allocations: 0 / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01238/0.4967, allocations: 4.274 MB / 1.355 GB, free: 2.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4967, allocations: 11.97 kB / 1.355 GB, free: 2.223 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00525/0.502, allocations: 0.8219 MB / 1.356 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007796/0.5098, allocations: 2.53 MB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003745/0.5102, allocations: 271.6 kB / 1.358 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.5119, allocations: 376.6 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.5275, allocations: 6.444 MB / 1.365 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.5276, allocations: 19.83 kB / 1.365 GB, free: 7.336 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00055/0.5281, allocations: 160 kB / 1.365 GB, free: 7.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006369/0.5288, allocations: 282.9 kB / 1.365 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009555/0.5383, allocations: 4.516 MB / 1.37 GB, free: 2.379 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02932/0.5676, allocations: 17.4 MB / 1.387 GB, free: 488 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.5696, allocations: 1.057 MB / 1.388 GB, free: 15.41 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.5712, allocations: 0.9584 MB / 1.389 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.263e-05/0.5713, allocations: 9 kB / 1.389 GB, free: 14.44 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.5713, allocations: 47.56 kB / 1.389 GB, free: 14.38 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 3.276e-06/0.5714, allocations: 0 / 1.389 GB, free: 14.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.02385/0.5952, allocations: 9.092 MB / 1.398 GB, free: 5.238 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.5953, allocations: 64.72 kB / 1.398 GB, free: 5.16 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/0.5979, allocations: 1.405 MB / 1.399 GB, free: 3.75 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.5981, allocations: 49.7 kB / 1.399 GB, free: 3.695 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.5996, allocations: 1.726 MB / 1.401 GB, free: 1.953 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006041/0.6002, allocations: 495.8 kB / 1.401 GB, free: 1.465 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/0.6009, allocations: 327.4 kB / 1.402 GB, free: 1.137 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.601, allocations: 301.1 kB / 1.402 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.6027, allocations: 0.9213 MB / 1.403 GB, free: 15.92 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.6048, allocations: 1.459 MB / 1.404 GB, free: 14.21 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.6089, allocations: 2.546 MB / 1.407 GB, free: 11.43 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.6089, allocations: 11.94 kB / 1.407 GB, free: 11.42 MB / 1.108 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006598/0.6155, allocations: 3.264 MB / 1.41 GB, free: 8.117 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.6156, allocations: 15.94 kB / 1.41 GB, free: 8.102 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.6156, allocations: 16 kB / 1.41 GB, free: 8.086 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/0.6181, allocations: 0.7376 MB / 1.411 GB, free: 7.32 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.6198, allocations: 387.3 kB / 1.411 GB, free: 6.941 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/0.6386, allocations: 15.82 MB / 1.427 GB, free: 6.199 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.6403, allocations: 95.91 kB / 1.427 GB, free: 6.105 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/0.6407, allocations: 79.98 kB / 1.427 GB, free: 6.027 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002646/0.6433, allocations: 1.313 MB / 1.428 GB, free: 4.703 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005474/0.6439, allocations: 202.8 kB / 1.428 GB, free: 4.504 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/0.6497, allocations: 2.761 MB / 1.431 GB, free: 1.699 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.6498, allocations: 12 kB / 1.431 GB, free: 1.688 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.583e-05/0.6498, allocations: 12 kB / 1.431 GB, free: 1.676 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.6498, allocations: 7.969 kB / 1.431 GB, free: 1.668 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.6626, allocations: 5.341 MB / 1.436 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.6626, allocations: 4 kB / 1.436 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.6639, allocations: 231.7 kB / 1.436 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.6662, allocations: 0.6677 MB / 1.437 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.6663, allocations: 28 kB / 1.437 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/0.6849, allocations: 15.57 MB / 1.452 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.415e-05/0.685, allocations: 11.94 kB / 1.452 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007743/0.6927, allocations: 3.978 MB / 1.456 GB, free: 6.645 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.6942, allocations: 366.7 kB / 1.456 GB, free: 6.285 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005373/0.6947, allocations: 39.92 kB / 1.456 GB, free: 6.246 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.6959, allocations: 87.83 kB / 1.457 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/0.6963, allocations: 120.7 kB / 1.457 GB, free: 6.043 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.6964, allocations: 40 kB / 1.457 GB, free: 6.004 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001701/0.6981, allocations: 0.9048 MB / 1.458 GB, free: 5.105 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6981, allocations: 0 / 1.458 GB, free: 5.105 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002909/0.701, allocations: 0.6836 MB / 1.458 GB, free: 4.422 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0003344/0.7014, allocations: 155 kB / 1.458 GB, free: 4.262 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005943/0.7073, allocations: 3.386 MB / 1.462 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.7073, allocations: 4 kB / 1.462 GB, free: 0.75 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00358/0.7109, allocations: 2.236 MB / 1.464 GB, free: 14.4 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.7143, allocations: 0.6385 MB / 1.465 GB, free: 13.78 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.7305, allocations: 6.632 MB / 1.471 GB, free: 7.055 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004732/0.7352, allocations: 2.109 MB / 1.473 GB, free: 4.91 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001785/0.737, allocations: 468.4 kB / 1.474 GB, free: 4.449 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.7374, allocations: 115.4 kB / 1.474 GB, free: 4.336 MB / 1.17 GB Notification: Performance of SimCode: time 9.92e-07/0.7374, allocations: 0 / 1.474 GB, free: 4.336 MB / 1.17 GB Notification: Performance of Templates: time 0.06881/0.8062, allocations: 37.86 MB / 1.511 GB, free: 15.21 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 9.987183146178722]