Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001726/0.001726, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002207/0.002207, allocations: 216.1 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.815/2.815, allocations: 476 MB / 0.7707 GB, free: 4.715 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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [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.002214/0.002214, allocations: 71.39 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3635, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02682/0.3903, allocations: 19.51 MB / 1.303 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.4033, allocations: 6.477 MB / 1.309 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.4057, allocations: 115.1 kB / 1.309 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006461/0.4121, allocations: 2.238 MB / 1.311 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.4173, allocations: 1.244 MB / 1.313 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.4215, allocations: 1.298 MB / 1.314 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00686/0.4284, allocations: 4.862 MB / 1.319 GB, free: 8.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005096/0.4334, allocations: 3.135 MB / 1.322 GB, free: 4.863 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004037/0.4375, allocations: 2.166 MB / 1.324 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004347/0.4418, allocations: 2.336 MB / 1.326 GB, free: 356 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008809/0.4427, allocations: 428 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.4451, allocations: 0.9478 MB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002045/0.4471, allocations: 1.711 MB / 1.329 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002696/0.4498, allocations: 1.545 MB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008386/0.4582, allocations: 6.569 MB / 1.337 GB, free: 5.125 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4582, allocations: 0 / 1.337 GB, free: 5.125 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4582, allocations: 0 / 1.337 GB, free: 5.125 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001851/0.4584, allocations: 0 / 1.337 GB, free: 5.125 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008423/0.4668, allocations: 3.468 MB / 1.34 GB, free: 1.609 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4669, allocations: 8.031 kB / 1.34 GB, free: 1.602 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/0.4703, allocations: 0.6584 MB / 1.341 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004993/0.4753, allocations: 1.998 MB / 1.343 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.4755, allocations: 226.3 kB / 1.343 GB, free: 14.67 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007127/0.4762, allocations: 288.4 kB / 1.344 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009973/0.4862, allocations: 5.241 MB / 1.349 GB, free: 8.863 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.17e-05/0.4863, allocations: 15.83 kB / 1.349 GB, free: 8.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/0.4866, allocations: 132 kB / 1.349 GB, free: 8.719 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004859/0.4871, allocations: 225.7 kB / 1.349 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007687/0.4948, allocations: 3.75 MB / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.5185, allocations: 13.1 MB / 1.366 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.5206, allocations: 1.223 MB / 1.367 GB, free: 6.066 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.5222, allocations: 0.984 MB / 1.368 GB, free: 5.078 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.5222, allocations: 13 kB / 1.368 GB, free: 5.066 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.5223, allocations: 51.5 kB / 1.368 GB, free: 5.004 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 4.418e-06/0.5223, allocations: 0 / 1.368 GB, free: 5.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.02583/0.5481, allocations: 8.416 MB / 1.376 GB, free: 12.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.5482, allocations: 76.72 kB / 1.376 GB, free: 12.51 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.5501, allocations: 1.059 MB / 1.377 GB, free: 11.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.5503, allocations: 49.7 kB / 1.377 GB, free: 11.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.5515, allocations: 1.342 MB / 1.378 GB, free: 10.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000609/0.5521, allocations: 0.4957 MB / 1.379 GB, free: 9.527 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/0.5526, allocations: 291.5 kB / 1.379 GB, free: 9.234 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5528, allocations: 309.1 kB / 1.379 GB, free: 8.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.5542, allocations: 0.9096 MB / 1.38 GB, free: 8.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.5561, allocations: 1.326 MB / 1.382 GB, free: 6.523 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.5597, allocations: 2.433 MB / 1.384 GB, free: 3.918 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/0.5597, allocations: 8 kB / 1.384 GB, free: 3.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006863/0.5666, allocations: 3.417 MB / 1.387 GB, free: 484 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.5666, allocations: 9 kB / 1.387 GB, free: 476 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.5667, allocations: 12 kB / 1.387 GB, free: 464 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/0.5701, allocations: 1.186 MB / 1.389 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5711, allocations: 255.6 kB / 1.389 GB, free: 15.01 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.5904, allocations: 13.27 MB / 1.402 GB, free: 1.434 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.5919, allocations: 91.91 kB / 1.402 GB, free: 1.344 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.592, allocations: 64.38 kB / 1.402 GB, free: 1.281 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002014/0.594, allocations: 1.114 MB / 1.403 GB, free: 160 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.5944, allocations: 159.1 kB / 1.403 GB, free: 0 / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.6004, allocations: 3.125 MB / 1.406 GB, free: 12.85 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.6004, allocations: 12 kB / 1.406 GB, free: 12.84 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-05/0.6004, allocations: 16 kB / 1.406 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.6004, allocations: 7.969 kB / 1.406 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.6108, allocations: 5.476 MB / 1.412 GB, free: 7.238 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.6108, allocations: 7.938 kB / 1.412 GB, free: 7.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.6114, allocations: 147.8 kB / 1.412 GB, free: 7.086 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/0.6143, allocations: 1.067 MB / 1.413 GB, free: 6.012 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.6144, allocations: 28 kB / 1.413 GB, free: 5.984 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/0.6326, allocations: 12.95 MB / 1.425 GB, free: 8.734 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.6326, allocations: 7.984 kB / 1.425 GB, free: 8.727 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/0.6385, allocations: 3.119 MB / 1.428 GB, free: 5.527 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.6396, allocations: 350.9 kB / 1.429 GB, free: 5.184 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.6398, allocations: 28 kB / 1.429 GB, free: 5.156 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.6406, allocations: 79.89 kB / 1.429 GB, free: 5.078 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/0.641, allocations: 132.6 kB / 1.429 GB, free: 4.945 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.055e-05/0.6411, allocations: 40 kB / 1.429 GB, free: 4.906 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001045/0.6422, allocations: 0.702 MB / 1.43 GB, free: 4.199 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.6422, allocations: 0 / 1.43 GB, free: 4.199 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002148/0.6443, allocations: 0.6602 MB / 1.43 GB, free: 3.539 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.6446, allocations: 145.5 kB / 1.431 GB, free: 3.387 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005326/0.6499, allocations: 3.001 MB / 1.433 GB, free: 356 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.6499, allocations: 4 kB / 1.433 GB, free: 352 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003279/0.6532, allocations: 1.885 MB / 1.435 GB, free: 14.43 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.6555, allocations: 485.9 kB / 1.436 GB, free: 13.96 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.6668, allocations: 5.951 MB / 1.442 GB, free: 7.91 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/0.6694, allocations: 1.815 MB / 1.443 GB, free: 6.059 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/0.6699, allocations: 95.42 kB / 1.443 GB, free: 5.965 MB / 1.139 GB Notification: Performance of SimCode: time 1.463e-06/0.6699, allocations: 0 / 1.443 GB, free: 5.965 MB / 1.139 GB Notification: Performance of Templates: time 0.1151/0.785, allocations: 80.31 MB / 1.522 GB, free: 5.711 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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: 17.671655383892357]